Fully customizable blog template with a React.js front-end.
Deployed from sanity.io/create.
npm install
in the project root folder on localnpm run dev
to start the studio and frontend locally
npm run build
to build to production locally.env.development.template
to .env.development
and paste in the token: SANITY_READ_TOKEN="yourTokenHere"
.ctrl + C
and npm run dev
).If you want to turn off preview you can set watchMode: false
in gatsby-config.js. If you just want to preview published changes you can set overlayDrafts: false
in gatsby-config.js.
Netlify automatically deploys new changes commited to master on GitHub. If you want to change deployment branch, do so in build & deploy settings on Netlify.
Join Sanity’s developer community or ping us on twitter.