@nuxtjs/sanity
Nuxt Sanity
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
Quick setup
- Add
@nuxtjs/sanitydependency to your project
npx nuxi@latest module add sanity
- Add
@nuxtjs/sanityto themodulessection ofnuxt.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
- Clone this repository
- Install dependencies using
pnpm install - Stub module with
pnpm dev:prepare - Start development server using
pnpm dev
License
Related Packages
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 | |
| 2.0.0 | MIT | |
| 1.14.1 | MIT | |
| 1.14.0 | MIT | |
| 1.13.3 | MIT | |
| 1.13.2 | MIT | |
| 1.13.1 | MIT | |
| 1.13.0 | MIT | |
| 1.12.3 | MIT | |
| 1.12.2 | MIT | |
| 1.12.1 | MIT | |
| 1.12.0 | MIT | |
| 1.11.5 | MIT | |
| 1.11.4 | MIT | |
| 1.11.3 | MIT | |
| 1.11.2 | MIT | |
| 1.11.1 | MIT | |
| 1.11.0 | MIT | |
| 1.10.1 | MIT | |
| 1.10.0 | MIT | |
| 1.9.0 | MIT | |
| 1.8.3 | MIT | |
| 1.8.2 | MIT | |
| 1.8.1 | MIT | |
| 1.8.0 | MIT | |
| 1.7.3 | MIT |
Showing the latest 30 of 79. See every release on npm
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 | |
| 1.0.0-beta.1 | MIT | |
| 1.0.0-beta.0 | MIT | |
| 0.2.3-beta.0 | MIT |
