Astro logo

Welcome to Astro

πŸš€ 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 site or jump into our Discord server.