@nuxtjs/sanity

Sanity integration for Nuxt
280,079 264
Install
npm install @nuxtjs/sanity
Latest Version:2.5.0
Vue:3
License:MIT
Last Updated:Oct 21, 2026
Links: GitHub  ·  npm
Maintainer: danielroe

@nuxtjs/sanity

Nuxt Sanity

npm version npm downloads Codecov License Nuxt Volta nuxt.care health

Sanity integration for Nuxt

Features

  • Just bring your sanity.config.ts - no additional configuration required
  • Ultra-lightweight Sanity client
  • Zero-config image/file components + portable text renderer
  • Supports GROQ syntax highlighting

📖  Read more

Quick setup

  1. Add @nuxtjs/sanity dependency to your project
npx nuxi@latest module add sanity
  1. Add @nuxtjs/sanity to the modules section of nuxt.config.ts
{
  modules: [
    '@nuxtjs/sanity',
  ],
  sanity: {
    // module options
  }
}

Note: For Nuxt 2 support without Bridge, install @nuxtjs/sanity@0.10.0 and follow the instructions at https://v0.sanity.nuxtjs.org.

Development

  1. Clone this repository
  2. Install dependencies using pnpm install
  3. Stub module with pnpm dev:prepare
  4. Start development server using pnpm dev

License

MIT License

Related Packages

@nuxtjs/prismic

Easily connect your Nuxt application to your content hosted on Prismic

324,116 249
nuxt-microcms-module

microCMS integration for Nuxt.js

23,457 29
@docus/core-edge

The Docus core.

8,638
@docus/app-edge

The Docus default app.

8,488
@docus/app

The Docus default app.

5,187

Version History

Version Released License
2.5.0 MIT
2.4.1 MIT
2.3.0 MIT
2.2.0 MIT
2.1.0 MIT
Pre-releases (8)
Version Released License
1.9.0-beta.3 MIT
1.9.0-beta.2 MIT
1.9.0-beta.1 MIT
1.0.0-beta.3 MIT
1.0.0-beta.2 MIT