Astro Sanity Minimal Starter is a starter repository that provides a minimal blog website with a headless CMS setup using Sanity.io. It offers excellent SEO practices, a customizable headless CMS, and minimal styles, making it a solid foundation for a personal blog.
To install Astro Sanity Minimal Starter, follow these steps:
npm install -g @sanity/cli
in a terminal.sanity
folder (cd sanity
).sanity install
to install the required dependencies.sanity init
and follow the prompts to set up Sanity (you will need to create a Sanity account if you haven’t already).astro
folder..env.template
file to .env
.PUBLIC_SANITY_PROJECT_ID
with your token ID.http://localhost:3000
to your allowed CORS origins in your Sanity project settings at https://manage.sanity.io
.sanity
folder.sanity install
to install the required dependencies.sanity start
to start the Sanity Studio (it should be running on http://localhost:3333
).http://localhost:3333
and copy the project ID from the Project info section.astro
folder.npm install
to install the required dependencies.npm start
to start the Astro site (it should be running on http://localhost:3000
).npm run build
.Astro Sanity Minimal Starter is a solid foundation for a personal blog with a headless CMS setup using Sanity.io. It offers excellent SEO practices, customizable features, and minimal styles. By following the installation guide, users can easily set up and customize their blog website using Astro Sanity Minimal Starter.