2021-07-01 07:43:25 -05:00
|
|
|
# Astro Starter Kit: Docs Site
|
|
|
|
|
|
|
|
```
|
2021-07-20 20:06:11 -05:00
|
|
|
npm init astro -- --template docs
|
2021-07-01 07:43:25 -05:00
|
|
|
```
|
|
|
|
|
|
|
|
> 🧑🚀 **Seasoned astronaut?** Delete this file. Have fun!
|
|
|
|
|
|
|
|
Features:
|
|
|
|
|
|
|
|
- ✅ CSS Grid Layout
|
|
|
|
- ✅ Full Markdown support
|
|
|
|
- ✅ Automatic header navigation sidebar
|
|
|
|
- ✅ Dark mode enabled by default
|
|
|
|
|
|
|
|
## 🧞 Commands
|
|
|
|
|
|
|
|
All commands are run from the root of the project, from a terminal:
|
|
|
|
|
|
|
|
| Command | Action |
|
|
|
|
|:----------------|:--------------------------------------------|
|
|
|
|
| `npm install` | Installs dependencies |
|
2021-07-21 09:09:44 -05:00
|
|
|
| `npm start` | Starts local dev server at `localhost:3000` |
|
2021-07-01 07:43:25 -05:00
|
|
|
| `npm run build` | Build your production site to `./dist/` |
|
|
|
|
|
|
|
|
## 👀 Want to learn more?
|
|
|
|
|
|
|
|
Feel free to check [our documentation](https://github.com/snowpackjs/astro) or jump into our [Discord server](https://astro.build/chat).
|