Easily connect your Nuxt.js application to your content hosted on Prismic
The @nuxtjs/prismic package is a Nuxt.js module that allows you to easily connect your Nuxt.js application to your content hosted on Prismic. With this module, you can quickly add Prismic to your Nuxt app and access the Prismic SDK through composition and options API. Prismic previews are also supported.
To install the @nuxtjs/prismic module, follow these steps:
{
modules: [
'@nuxtjs/prismic'
]
}
{
prismic: {
endpoint: 'YOUR_PRISMIC_API_ENDPOINT'
}
}
Make sure to replace YOUR_PRISMIC_API_ENDPOINT
with your actual Prismic API endpoint.
The @nuxtjs/prismic module is a convenient solution for integrating Prismic with your Nuxt.js application. It provides easy setup and access to the Prismic SDK through the composition and options API. With support for Prismic previews, you can preview your content before publishing it.