Skip to content
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

docs: update canary for Fresh 2 #2558

Draft
wants to merge 6 commits into
base: main
Choose a base branch
from
Prev Previous commit
Next Next commit
WIP
  • Loading branch information
marvinhagemeister committed Jul 3, 2024
commit 8d8737e003b2d34d4a61615904bdba5cae273aa8
18 changes: 9 additions & 9 deletions docs/canary/getting-started/create-a-project.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,18 +28,18 @@ this:
```sh
fresh-project/
├── components/ # Place components that should be re-used here
| └── Button.tsx # A re-usable button component
└── Button.tsx # A re-usable button component
├── islands/ # Client-side components to run in the browser
| └── Counter.tsx # An example Counter island component
└── Counter.tsx # An example Counter island component
├── routes/ # Place all your routes here
| ├── _app.tsx # App wrapper template, the outer HTML structure
| | # that will always be included on every page.
| ├── api/
| | └── [name].tsx # /api/:name route example that responds with
| | # plain text and the name you pass in the url
| └── index.tsx # / Route
├── _app.tsx # App wrapper template, the outer HTML structure
# that will always be included on every page.
├── api/
└── [name].tsx # /api/:name route example that responds with
# plain text and the name you pass in the url
└── index.tsx # / Route
├── static/ # Place static files (images, videos, etc) here
| └── ...
└── ...
├── deno.json # Contains project dependencies, tasks, etc
├── dev.ts # Development entry point
└── main.tsx # Production entry point (use this for Deno Deploy)
Expand Down
Loading