blob: 421b13e11eea35824faf2b7965858ccd997ca7dc (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
## 🚀 Project Structure
Inside of your Astro project, you'll see the following folders and files:
```
├── public/
│ ├── logo.svg
│ └── favicon.ico
├── src/
│ ├── components/
│ │ └── Logo.astro
│ ├── content/
│ │ └── Tour.md
│ └── 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.
## 👀 Want to learn more?
Check out the [Astro Documentation](https://github.com/withastro/astro) site or jump into our [Discord server](https://astro.build/chat).
|