BaconJuice
BaconJuice
NNuxt
Created by BaconJuice on 10/6/2024 in #❓・help
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,
},
},
})
2 replies