Experimenting with using Sanity.io as a headless CMS with a Gatsby 5 front-end. Changes published on Sanity currently trigger the build and deploy it to Github pages.
Original Readme below
Gatsby's Blog Starter + Slices
This starter is used as a simple demo site showing how to use the Gatsby Slice API.
It's part of Gatsby 5, visit the Gatsby 5 Umbrella Discussion.
🚀 Quick start
-
Create a Gatsby site.
Use the Gatsby CLI (install instructions) to create a new site, specifying the default starter.
gatsby new gatsby-starter-slices https://github.com/gatsbyjs/gatsby-partial-hydration-starter
-
Start developing.
Navigate into your new site’s directory and start it up.
cd gatsby-starter-slices gatsby develop
-
Open the source code and start editing!
Your site is now running at
http://localhost:8000
!Note: You'll also see a second link:
http://localhost:8000/___graphql
. This is a tool you can use to experiment with querying your data. Learn more about using this tool in the Gatsby Tutorial.Open the
gatsby-starter-slices
directory in your code editor of choice and editsrc/pages/index.js
. Save your changes and the browser will update in real time!