fresh icon indicating copy to clipboard operation
fresh copied to clipboard

[docs]Update Fresh project setup commands and Hero component configuration

Open SisyphusZheng opened this issue 3 months ago • 2 comments

This pull request updates documentation and example code to reflect a new project initialization command and improves developer experience by clarifying the development workflow. It also simplifies the Hero component interface and updates the copy area to use the new init command.

Documentation and usage updates:

  • Updated the recommended Fresh project initialization command in README.md and the homepage Hero component to use deno run -Ar jsr:@fresh/init instead of the previous URL-based command. [1] [2]
  • Changed the development workflow documentation in www/README.md to use deno task dev instead of deno task start, clarifying the command for starting the development server.

Code simplification:

  • Simplified the Hero component by removing the origin prop, as it is no longer needed with the static init command.

SisyphusZheng avatar Sep 04 '25 04:09 SisyphusZheng

A bit unsure if we should merge it now or wait until 2.0 is officially released.

marvinhagemeister avatar Sep 05 '25 14:09 marvinhagemeister

A bit unsure if we should merge it now or wait until 2.0 is officially released.

I personally think everyone is eagerly waiting for V2, and the changes you've driven are significant. At least from my perspective, it would be better to let everyone feel (the changes) sooner.

SisyphusZheng avatar Sep 05 '25 15:09 SisyphusZheng