@devite/nuxt-sanity v2.12.0
Nuxt Sanity Integration
Advanced Sanity integration for Nuxt.js. Based on the official @nuxtjs/sanity module.
Quick Setup
Install the module to your Nuxt application with one command:
npx nuxi module add @devite/nuxt-sanity
That's it! You can now use Sanity with your Nuxt app ✨
Configuration
Further configuration can be done in the nuxt.config.ts
file:
export default {
modules: [
'@devite/nuxt-sanity',
"@nuxt/image"
],
sanity: {
projectId: 'YOUR_PROJECT_ID',
dataset: 'YOUR_DATASET',
...
},
runtimeConfig: {
public: {
// Required for SanityPage component to set a correct "canonical" url
baseUrl: "https://www.example.com"
}
}
};
Contribution
11 months ago
11 months ago
11 months ago
11 months ago
6 months ago
7 months ago
10 months ago
10 months ago
5 months ago
6 months ago
6 months ago
10 months ago
10 months ago
10 months ago
10 months ago
7 months ago
10 months ago
10 months ago
10 months ago
10 months ago
10 months ago
10 months ago
10 months ago
10 months ago
8 months ago
10 months ago
10 months ago
10 months ago
10 months ago
10 months ago
10 months ago
10 months ago
9 months ago
7 months ago
10 months ago
6 months ago
12 months ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago