Astro + Netlify Starter

December 1, 2021 ยท View on GitHub

Netlify Status

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!

Clone and Deploy

You can instantly clone this to your GitHub and deploy it by clicking this button here:

Deploy to Netlify

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

Commands

All commands are run from the root of the project, from a terminal:

CommandAction
npm installInstalls dependencies
npm run startStarts local dev server at localhost:3000
npm run buildBuild your production site to ./dist/

Want to learn more?

Feel free to check the Astro documentation!