Easily connect your [Nuxt][nuxt] application to your content hosted on Prismic.
- 🚀 Add Prismic to your Nuxt app in seconds.
- 🍡 Fetch and present Prismic content with components and composables.
- 🏀 Try it now on the online playground.
Install the module to your Nuxt application with one command:
npx nuxi@latest module add prismicThen, 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 ✨
To discover what's new on this package check out the changelog. For full documentation, visit the official Prismic documentation.
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.
For more clarity on this project and its structure you can also check out the detailed CONTRIBUTING.md document.