0.9.4 • Published 3 years ago

@aadgrant/sanity v0.9.4

Weekly downloads
-
License
MIT
Repository
github
Last release
3 years ago

@nuxtjs/sanity

npm version npm downloads Github Actions CI Codecov License

Sanity integration for NuxtJS

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

📖  Read more

Quick setup

  1. Add @nuxtjs/sanity dependency to your project
yarn add @nuxtjs/sanity # or npm install @nuxtjs/sanity
  1. Add @nuxtjs/sanity/module to the buildModules section of nuxt.config.js
{
  buildModules: [
    '@nuxtjs/sanity/module',
  ],
  sanity: {
    // module options
  }
}

Development

  1. Clone this repository
  2. Install dependencies using yarn install
  3. Start development server using yarn dev

License

MIT License