More Premium Hugo Themes Premium Vue Themes

Prismic

Easily connect your Nuxt.js application to your content hosted on Prismic

Prismic

Easily connect your Nuxt.js application to your content hosted on Prismic

Author Avatar Theme by nuxt-modules
Github Stars Github Stars: 246
Last Commit Last Commit: Mar 3, 2025 -
First Commit Created: Dec 18, 2023 -
default image

Overview:

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.

Features:

  • Add Prismic to your Nuxt app in seconds: The @nuxtjs/prismic module allows you to quickly integrate Prismic with your Nuxt.js application.
  • Access Prismic SDK through composition and options API: You can easily access the Prismic SDK and interact with your Prismic content using the composition and options API provided by this module.
  • Prismic previews supported: The module supports Prismic previews, allowing you to preview your content before publishing it.

Installation:

To install the @nuxtjs/prismic module, follow these steps:

  1. Add the module to the modules section of your Nuxt config:
{
  modules: [
    '@nuxtjs/prismic'
  ]
}
  1. Configure your Prismic API endpoint:
{
  prismic: {
    endpoint: 'YOUR_PRISMIC_API_ENDPOINT'
  }
}

Make sure to replace YOUR_PRISMIC_API_ENDPOINT with your actual Prismic API endpoint.

Summary:

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.