Skip to content

cassidoo/astro-netlify-starter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Astro + Netlify Starter

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:

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/

Want to learn more?

Feel free to check the Astro documentation!