piersolenski / sanity-starter

A simple boilerplate for kickstarting Sanity projects.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Sanity Starter

A simple boilerplate for kickstarting Sanity projects.

๐Ÿš€ Getting started

Installation

Install the project dependencies.

yarn

Bootstrapping

yarn bootstrap

Bootstraps your project with all the key information.

Develop

yarn dev

Sanity will start a hot-reloading development environment accessible at localhost:3333.

Building

yarn build

Gatsby will perform an optimized production build for your site generating static HTML and per-route JavaScript code bundles.

Deployment

yarn deploy

Builds the studio and deploys it along with the latest GraphQL schema.

๐Ÿค– Generating code

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.

About

A simple boilerplate for kickstarting Sanity projects.


Languages

Language:JavaScript 95.5%Language:CSS 4.5%