Closed AndreLeclercqOclock closed 8 months ago
Can you try adding the components config in your nuxt.config.ts
file?
like:
primevue: {
components: {
include: '*',
exclude: ['Editor', 'Chart']
},
options: {
ripple: true,
inputStyle: 'filled'
},
},
Hey 👋🏻 thanks for your help 😄 .
I try with the components (this is my complete nuxt.config.ts
file)
// https://nuxt.com/docs/api/configuration/nuxt-config
export default defineNuxtConfig({
devtools: { enabled: true },
modules: [
'nuxt-primevue'
],
primevue: {
components: {
include: '*',
exclude: ['Editor', 'Chart']
},
options: {
ripple: true,
inputStyle: 'filled'
},
},
})
But I have the same result with the same errors (and warnings) 😞 .
Which PrimeVue version are you using?
Hi 👋🏻 If you speak about Nuxt-Primevue I use the 0.1.0 version.
There is my packages.json
file :
{
"name": "nuxt-app",
"private": true,
"type": "module",
"scripts": {
"build": "nuxt build",
"dev": "nuxt dev",
"generate": "nuxt generate",
"preview": "nuxt preview",
"postinstall": "nuxt prepare"
},
"devDependencies": {
"@nuxt/devtools": "latest",
"nuxt": "^3.8.1",
"nuxt-primevue": "^0.1.0",
"vue": "^3.3.8",
"vue-router": "^4.2.5"
}
}
Hi,
You need to install the latest version of Primevue 3.
npm i primevue
It works !!! 🎉 Thanks a lot @mertsincan 🙏🏻 .
Just one more thing.
I followed this two guides :
Perhaps add a small note to specify that primevue package is required. 🤔 😉 ❤️ .
Again thanks for your help 🙏🏻 .
Hi 👋🏻
I have a problem after installation on a blank project 😞. I follow the instructions.
How to reproduce
Versions
1. Install Nuxt
2. Install Nuxt-Primevue
3. Add module into
nuxt.config.ts
file4. Start the server
Expected Behavior
No errors into the server shell.
Actual Behavior