This is an Astro (v0.21.6) starter project based on the Astro Starter Kit, with a netlify.toml
configuration included, and an example React component + CSS Module.
If you'd like to learn more about how Astro works, here's an introductory blog post!
You can instantly clone this to your GitHub and deploy it by clicking this button here:
Or, if you'd like to just use the CLI and not deploy just yet, you can use create-astro
with this as a template:
npm init astro my-new-project --template cassidoo/astro-netlify-starter
All commands are run from the root of the project, from a terminal:
Command | Action |
---|---|
npm install |
Installs dependencies |
npm run start |
Starts local dev server at localhost:3000 |
npm run build |
Build your production site to ./dist/ |
Feel free to check the Astro documentation!