astro-netlify-cms-starter

Blog Starter Template for Astro & Netlify CMS

Stars
35

This example is based on the basic Astro blog starter kit, and adds the Astro Netlify CMS integration.

Quick deploy

☝️ Click this button to copy this project to your own GitHub (or GitLab) account and set up continuous deployment with Netlify as if by magic. ✨

Once you’ve got the project set up, you do need to activate Netlify Identity in the Netlify UI and then enable “Git Gateway” to allow e-mail/password authentication.

Commands

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

Command Action
pnpm install Installs dependencies
pnpm run dev Starts local dev & Netlify CMS proxy servers
pnpm run build Build your production site to ./dist/
pnpm run preview Serve ./dist/ & run the Netlify CMS proxy server

Note These commands are using pnpm, a fast and efficient package manager. You can choose to use npm or yarn instead if you prefer, but remember to update the config in netlify.toml to match.