Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Note for Nuxt devs for PrimeVue < v3.40.0 #46

Closed
matthew-dean opened this issue Feb 1, 2024 · 0 comments
Closed

Note for Nuxt devs for PrimeVue < v3.40.0 #46

matthew-dean opened this issue Feb 1, 2024 · 0 comments
Labels
enhancement New feature or request
Milestone

Comments

@matthew-dean
Copy link

matthew-dean commented Feb 1, 2024

Note: Nuxt-Primevue relies on PrimeVue v3.40.0+, and you might have issues with PrimeVue 3.35.0+ styling due to the breaking change related to this issue.

To use PrimeVue with Nuxt in previous versions, you can use the PrimeVue Vue plugin along with a Nuxt Client plugin. For example:

import PrimeVue from 'primevue/config'

export default defineNuxtPlugin((nuxtApp) => {
  nuxtApp.vueApp.use(PrimeVue, { ripple: true })
})

In your package.json, you'll want to make sure you have PrimeVue installed like "primevue": "~3.34.1" (and not "^3.34.1" if you don't want to include the breaking style changes).

Hope that helps someone else who came across this issue! (Unfortunately, PrimeVue documentation is not pinned to individual release versions other than major, so it's unclear what other changes there have been between 3.34 and the current version.)

@matthew-dean matthew-dean changed the title Note for Nuxt devs - use a different solution for PrimeVue < v3.40.0 Note for Nuxt devs for PrimeVue < v3.40.0 Feb 5, 2024
@mertsincan mertsincan added the enhancement New feature or request label Feb 9, 2024
@mertsincan mertsincan added this to the 0.2.3 milestone Feb 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants