[docs]Update Fresh project setup commands and Hero component configuration
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.mdand the homepageHerocomponent to usedeno run -Ar jsr:@fresh/initinstead of the previous URL-based command. [1] [2] - Changed the development workflow documentation in
www/README.mdto usedeno task devinstead ofdeno task start, clarifying the command for starting the development server.
Code simplification:
- Simplified the
Herocomponent by removing theoriginprop, as it is no longer needed with the static init command.
A bit unsure if we should merge it now or wait until 2.0 is officially released.
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.