Final result based on Build a Blog of astro docs.
New
: added simple pagination, created blog folder, with index.astro
and [page].astro
dynamic page ( docs pagination)
This project is not online to see, like the tutorial suggests to do
The unit 6 is not included as well as last part of unit 5 (add a RSS feed ).
All commands are run from the root of the project, from a terminal:
Command | Action |
---|---|
npm i |
Installs dependencies |
npm start |
Starts local dev server at localhost:3000 |
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 |
npm run astro ... |
Run CLI commands like astro add , astro check |
npm run astro --help |
Get help using the Astro CLI |