Black Friday Week20% OFF on Nuxt UI Pro until Dec 2nd

prismic
@nuxtjs/prismic

Easily connect your Nuxt application to your content hosted on Prismic

@nuxtjs/prismic

npm versionnpm downloadsGithub Actions CICodecovConventional CommitsLicense

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

Features

  • 🚀  Add Prismic to your Nuxt app in seconds;
  • 🎣  Access Prismic SDK through composition and options API;
  • 🖼  Prismic previews supported.

Quick Setup

Install the module to your Nuxt application with one command:

npx nuxi module add prismic

Then, configure your Prismic API endpoint:

import { defineNuxtConfig } from 'nuxt'

export default defineNuxtConfig({
    modules: ['@nuxtjs/prismic'],
    prismic: {
        endpoint: 'my-repository'
    },
});

That's it! You can now use Prismic in your Nuxt app ✨

Contributing

Whether you're helping us fix bugs, improve the docs, or spread the word, we'd love to have you as part of the Prismic developer community!

Asking a question: Open a new topic on our community forum explaining what you want to achieve / your question. Our support team will get back to you shortly.

Reporting a bug: Open an issue explaining your application's setup and the bug you're encountering.

Suggesting an improvement: Open an issue explaining your improvement or feature so we can discuss and learn more.

Submitting code changes: For small fixes, feel free to open a pull request with a description of your changes. For large changes, please first open an issue so we can discuss if and how the changes should be implemented.

License

MIT License