N
Nuxt2mo ago
BaconJuice

Please help installing primevue!

I keep getting this error on terminal when I run dev `Cannot start nuxt: Cannot find module '@primevue/nuxt' yes I have installed it this is what my nuxt config looks like
// https://nuxt.com/docs/api/configuration/nuxt-config
import { defineNuxtConfig } from 'nuxt/config'

export default defineNuxtConfig({
modules: ["@primevue/nuxt"],
css: ['primevue/resources/themes/aura-light-green/theme.css'],
build: {
transpile: ['primevue']
},
// @ts-ignore
primevue: {
usePrimeVue: true,
options: {
ripple: true,
},
},
})
// https://nuxt.com/docs/api/configuration/nuxt-config
import { defineNuxtConfig } from 'nuxt/config'

export default defineNuxtConfig({
modules: ["@primevue/nuxt"],
css: ['primevue/resources/themes/aura-light-green/theme.css'],
build: {
transpile: ['primevue']
},
// @ts-ignore
primevue: {
usePrimeVue: true,
options: {
ripple: true,
},
},
})
1 Reply
manniL
manniL2mo ago
@BaconJuice and your pkg json?
Want results from more Discord servers?
Add your server