2021-07-01 12:43:25 +00:00
|
|
|
# Astro Starter Kit: Docs Site
|
|
|
|
|
|
|
|
```
|
2021-07-21 01:06:11 +00:00
|
|
|
npm init astro -- --template docs
|
2021-07-01 12:43:25 +00: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 14:09:44 +00:00
|
|
|
| `npm start` | Starts local dev server at `localhost:3000` |
|
2021-07-01 12:43:25 +00: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).
|