-
Notifications
You must be signed in to change notification settings - Fork 724
[docs]Update Fresh project setup commands and Hero component configuration #3334
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
Changed Fresh project initialization command in README files to use 'deno run -Ar jsr:@fresh/init'. Updated Hero component to remove 'origin' prop and use the new command in CopyArea.
Eliminated the unused 'origin' variable from the MainPage component in index.tsx for cleaner code.
Replaced placeholder TODOs with relevant screenshots in the getting started documentation. Added three new images to illustrate app initialization, about page, and countdown example.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks!
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. |
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:
README.md
and the homepageHero
component to usedeno run -Ar jsr:@fresh/init
instead of the previous URL-based command. [1] [2]www/README.md
to usedeno task dev
instead ofdeno task start
, clarifying the command for starting the development server.Code simplification:
Hero
component by removing theorigin
prop, as it is no longer needed with the static init command.