A simple boilerplate for kickstarting Sanity projects.
Install the project dependencies.
yarn
yarn bootstrap
Bootstraps your project with all the key information.
yarn dev
Sanity will start a hot-reloading development environment accessible at localhost:3333
.
yarn build
Gatsby will perform an optimized production build for your site generating static HTML and per-route JavaScript code bundles.
yarn deploy
Builds the studio and deploys it along with the latest GraphQL schema.
Sanity Starter uses Plop to automate repetivitve workflows, such as creating documents and objects! Run yarn plop
(or simply plop
if you have it installed globally) to see your options.