Skip to content

aadgrant/sanity-module

 
 

Repository files navigation

@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

About

Sanity integration for Nuxt.js

Resources

License

Code of conduct

Stars

Watchers

Forks

Packages

No packages published

Languages

  • TypeScript 73.4%
  • JavaScript 20.3%
  • Vue 6.2%
  • Shell 0.1%