astro/examples/starter
Nate Moore 61ccd59f92
Minimal create-astro CLI (#136)
* feat: add minimal create-astro CLI

* docs: update readme
2021-04-27 15:59:23 -05:00
..
public add starter template (#135) 2021-04-27 14:21:33 -05:00
src add starter template (#135) 2021-04-27 14:21:33 -05:00
astro.config.mjs Minimal create-astro CLI (#136) 2021-04-27 15:59:23 -05:00
package.json add starter template (#135) 2021-04-27 14:21:33 -05:00
README.md add starter template (#135) 2021-04-27 14:21:33 -05:00

Welcome to Astro

🧑‍🚀 Seasoned astronaut? Delete this file. Have fun!

🚀 Project Structure

Inside of your Astro project, you'll see the following folders and files:

/
├── public/
│   ├── robots.txt
│   └── favicon.ico
├── src/
│   ├── components/
│   │   └── Tour.astro
│   └── pages/
│       └── index.astro
└── package.json

Astro looks for .astro or .md.astro 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?

Feel free to check our documentation or jump into our Discord server.