Getting Started
- Install dependency
npx nuxi@latest module add prismic
- Update Nuxt config
nuxt.config.ts
import { defineNuxtConfig } from 'nuxt'
export default defineNuxtConfig({
+ modules: ['@nuxtjs/prismic'],
+ prismic: { endpoint: 'your_repository_id' }
})
Discover more configuration options in the module configuration ->
✨ Well done! You're ready to start developing with Prismic & Nuxt 3.