@nuxtjs/sanity
dependency to your projectyarn add @nuxtjs/sanity # or npm install @nuxtjs/sanity
@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.
pnpm install
pnpm dev:prepare
pnpm dev
Version | Tag | Published |
---|---|---|
1.6.0 | latest | 2mos ago |
1.0.0-beta.3 | beta | 1yr ago |