···11-# Welcome to [Astro](https://astro.build)
22-33-> 🧑🚀 **Seasoned astronaut?** Delete this file. Have fun!
44-55-## 🚀 Project Structure
66-77-Inside of your Astro project, you'll see the following folders and files:
88-99-```
1010-/
1111-├── public/
1212-│ ├── robots.txt
1313-│ └── favicon.ico
1414-├── src/
1515-│ ├── components/
1616-│ │ └── Tour.astro
1717-│ └── pages/
1818-│ └── index.astro
1919-└── package.json
2020-```
2121-2222-Astro looks for `.astro` or `.md` files in the `src/pages/` directory. Each page is exposed as a route based on its file name.
2323-2424-There's nothing special about `src/components/`, but that's where we like to put any Astro/React/Vue/Svelte/Preact components.
2525-2626-Any static assets, like images, can be placed in the `public/` directory.
2727-2828-## 🧞 Commands
2929-3030-All commands are run from the root of the project, from a terminal:
3131-3232-| Command | Action |
3333-|:----------------|:--------------------------------------------|
3434-| `npm install` | Installs dependencies |
3535-| `npm run start` | Starts local dev server at `localhost:3000` |
3636-| `npm run build` | Build your production site to `./dist/` |
3737-3838-## 👀 Want to learn more?
3939-4040-Feel free to check [our documentation](https://github.com/snowpackjs/astro) or jump into our [Discord server](https://astro.build/chat).
-14
astro/astro.config.mjs
···11-export default {
22- // projectRoot: '.', // Where to resolve all URLs relative to. Useful if you have a monorepo project.
33- // pages: './src/pages', // Path to Astro components, pages, and data
44- // dist: './dist', // When running `astro build`, path to final static output
55- // public: './public', // A folder of static files Astro will copy to the root. Useful for favicons, images, and other files that don’t need processing.
66- buildOptions: {
77- // site: 'http://example.com', // Your public domain, e.g.: https://my-site.dev/. Used to generate sitemaps and canonical URLs.
88- // sitemap: true, // Generate sitemap (set to "false" to disable)
99- },
1010- devOptions: {
1111- // port: 3000, // The port to run the dev server on.
1212- // tailwindConfig: '', // Path to tailwind.config.js if used, e.g. './tailwind.config.js'
1313- },
1414-};
-5
astro/meta.json
···11-{
22- "title": "Getting Started",
33- "description": "a friendly starting point for new astronauts",
44- "rank": 999
55-}