Base setup on top of headless services to help you quickly start a new website
Codebase is based on Head Start template.
All documentation is located in docs/
:
- Accessibility (a11y)
- Blocks and Components
- CMS Content Modelling
- CMS Data Loading
- Project Structure
- Routing
- Search Engine Optimisation (SEO)
- Testing
All commands are run from the root of the project, from a terminal:
Command (npm run ... ) |
Action |
---|---|
dev |
Starts local dev server at localhost:4323 (head in T9) |
build |
Build your production site to ./dist/ |
preview |
Preview your build locally, before deploying |
astro ... |
Run commands like astro add (see astro -- --help ) |
create |
Scaffold new Block, Component, API or Page route |
lint |
Check code style and valide HTML output |
test |
Runs the test suite, individual tests are available using test:... |