@aadgrant/sanity
v0.9.4
Published
Sanity integration for Nuxt.js
Downloads
4
Maintainers
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/module
to thebuildModules
section ofnuxt.config.js
{
buildModules: [
'@nuxtjs/sanity/module',
],
sanity: {
// module options
}
}
Development
- Clone this repository
- Install dependencies using
yarn install
- Start development server using
yarn dev