README.md
This commit is contained in:
@ -35,6 +35,11 @@ Inside AstroWind template, you'll see the following folders and files:
|
||||
│ ├── robots.txt
|
||||
│ └── favicon.ico
|
||||
├── src/
|
||||
│ ├── assets/
|
||||
│ │ ├── images/
|
||||
| | | └── ...
|
||||
| | └── styles
|
||||
| | └── base.css
|
||||
│ ├── components/
|
||||
│ │ ├── astro/
|
||||
| | | ├── headers/
|
||||
@ -48,13 +53,14 @@ Inside AstroWind template, you'll see the following folders and files:
|
||||
│ └── pages/
|
||||
│ └── index.astro
|
||||
└── package.json
|
||||
└── ...
|
||||
```
|
||||
|
||||
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.
|
||||
|
||||
Any static assets, like images, can be placed in the `public/` directory.
|
||||
Any static assets, like images, can be placed in the `public/` directory if they do not require any transformation or in the assets folder if they are imported directly.
|
||||
|
||||
<br>
|
||||
|
||||
|
Reference in New Issue
Block a user