This application is part of the Understanding Astro book.
All commands are run from the root of the project, from a terminal:
| Command | Action |
|---|---|
npm install |
Installs dependencies |
npm run dev |
Starts local dev server at localhost:3000 |
npm run build |
Build your production site to ./dist/ |
npm run preview |
Preview your build locally, before deploying |
- Complete application lives in the
masterbranch i.e.,git checkout master - Checkout to the
clean-slatebranch to code along or start afresh i.e.,git checkout clean-slate - Building the application is covered in Chapter 8 of the book
