π Project Structure
Inside of your Astro project, youβll see the following folders and files:
/
βββ static/
β βββ robots.txt
β βββ favicon.ico
βββ src/
β βββ components/
β β βββ Tour.astro
β βββ 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 static/
directory.
π Want to learn more?
Feel free to check our documentation or jump into our Discord server.