Building with Sanity and Nuxt
This is a Jamstack Explorers Mission (course) about Sanity.io. The mission will walk you through the processes of setting up a Sanity application, understanding different parts of Sanity and hooking it up to a Nuxt.js frontend.
TOC:
- Introduction
- Overview
- Setup Sanity
- Sanity Schemas, Documents and Relationships
- Sanity Datastore and Datastore
- Setup Nuxt
- Connect Nuxt and Sanity
- Dynamic Pages with Nuxt
- Deploy
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 Mission.