README.md
This commit is contained in:
@ -35,6 +35,11 @@ Inside AstroWind template, you'll see the following folders and files:
|
|||||||
│ ├── robots.txt
|
│ ├── robots.txt
|
||||||
│ └── favicon.ico
|
│ └── favicon.ico
|
||||||
├── src/
|
├── src/
|
||||||
|
│ ├── assets/
|
||||||
|
│ │ ├── images/
|
||||||
|
| | | └── ...
|
||||||
|
| | └── styles
|
||||||
|
| | └── base.css
|
||||||
│ ├── components/
|
│ ├── components/
|
||||||
│ │ ├── astro/
|
│ │ ├── astro/
|
||||||
| | | ├── headers/
|
| | | ├── headers/
|
||||||
@ -48,13 +53,14 @@ Inside AstroWind template, you'll see the following folders and files:
|
|||||||
│ └── pages/
|
│ └── pages/
|
||||||
│ └── index.astro
|
│ └── index.astro
|
||||||
└── package.json
|
└── 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.
|
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.
|
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>
|
<br>
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user