@aadgrant/sanity
TypeScript icon, indicating that this package has built-in type declarations

0.9.4 • Public • Published

@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

Package Sidebar

Install

npm i @aadgrant/sanity

Weekly Downloads

2

Version

0.9.4

License

MIT

Unpacked Size

52.8 kB

Total Files

20

Last publish

Collaborators

  • aadgrant