Skip to content

Conversation

SisyphusZheng
Copy link
Contributor

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.

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.
@SisyphusZheng SisyphusZheng marked this pull request as draft September 4, 2025 04:25
@SisyphusZheng SisyphusZheng marked this pull request as ready for review September 4, 2025 04:42
marvinhagemeister and others added 3 commits September 4, 2025 09:02
Replaced placeholder TODOs with relevant screenshots in the getting started documentation. Added three new images to illustrate app initialization, about page, and countdown example.
Copy link
Collaborator

@marvinhagemeister marvinhagemeister left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@marvinhagemeister
Copy link
Collaborator

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

@SisyphusZheng
Copy link
Contributor Author

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants