chore(basics): update README folder structure (#4417)
This commit is contained in:
parent
7310e8a178
commit
be2774b357
1 changed files with 3 additions and 1 deletions
|
@ -14,6 +14,8 @@ Inside of your Astro project, you'll see the following folders and files:
|
|||
│ └── favicon.svg
|
||||
├── src/
|
||||
│ ├── components/
|
||||
│ │ └── Card.astro
|
||||
│ ├── layouts/
|
||||
│ │ └── Layout.astro
|
||||
│ └── pages/
|
||||
│ └── index.astro
|
||||
|
@ -22,7 +24,7 @@ Inside of your Astro project, you'll see the following folders and files:
|
|||
|
||||
Astro looks for `.astro` or `.md` files in the `src/pages/` directory. Each page is exposed as a route based on its file name.
|
||||
|
||||
There's nothing special about `src/components/`, but that's where we like to put any Astro/React/Vue/Svelte/Preact components or layouts.
|
||||
There's nothing special about `src/components/`, but that's where we like to put any Astro/React/Vue/Svelte/Preact components.
|
||||
|
||||
Any static assets, like images, can be placed in the `public/` directory.
|
||||
|
||||
|
|
Loading…
Reference in a new issue