Package Exports
- @nuxtjs/sanity
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@nuxtjs/sanity) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
@nuxtjs/sanity
Features
- Just bring your sanity.json - no additional configuration required
- Ultra-lightweight Sanity client
- Zero-config image component
- Supports GROQ syntax highlighting
- Full support for TypeScript
Quick setup
- Add
@nuxtjs/sanity
dependency to your project
yarn add @nuxtjs/sanity # or npm install @nuxtjs/sanity
- Add
@nuxtjs/sanity
to thebuildModules
section ofnuxt.config.js
{
buildModules: [
'@nuxtjs/sanity',
],
sanity: {
// module options
}
}
Development
- Clone this repository
- Install dependencies using
yarn install
- Start development server using
yarn dev