nuxt-modules / prismic

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

Home Page:https://prismic.nuxtjs.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

@nuxtjs/prismic

npm version npm downloads Github Actions CI Codecov Conventional Commits License

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

About

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

https://prismic.nuxtjs.org

License:MIT License


Languages

Language:TypeScript 76.5%Language:Vue 22.3%Language:JavaScript 1.2%