conorluddy / sanity-gatsby5

Experimenting with using Sanity.io as a headless CMS with a Gatsby 5 front-end. Any changes published on Sanity will trigger a fresh build and then deploy it to Github pages.

Home Page:https://conorluddy.github.io/sanity-gatsby5/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.

Deploy Gatsby site to 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

  1. 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
  2. Start developing.

    Navigate into your new site’s directory and start it up.

    cd gatsby-starter-slices
    gatsby develop
  3. 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 edit src/pages/index.js. Save your changes and the browser will update in real time!

About

Experimenting with using Sanity.io as a headless CMS with a Gatsby 5 front-end. Any changes published on Sanity will trigger a fresh build and then deploy it to Github pages.

https://conorluddy.github.io/sanity-gatsby5/

License:BSD Zero Clause License


Languages

Language:JavaScript 50.1%Language:HTML 48.7%Language:CSS 1.2%