/nuxt2sanityboilerplate

Nuxt 2 + Sanity Boilerplate

Primary LanguageVue

Nuxt 2 + Sanity Boilerplate

Requirements

SANITY_PROJECT_ID=xxxxxxxx

Build Setup

# install dependencies
$ yarn install

# serve with hot reload at localhost:3000
$ yarn dev

# build for production and launch server
$ yarn build
$ yarn start

# generate static project
$ yarn generate

For detailed explanation on how things work, check out the documentation.