Closed twisteriokovel closed 2 months ago
Hi,
This is related to serializable definitions. Please see my comments; https://github.com/primefaces/primevue-nuxt-module/issues/6#issuecomment-1772954754
Exp;
import path from 'path';
export default defineNuxtConfig({
modules: [
'nuxt-primevue'
],
primevue: {
unstyled: true,
importPT: { from: path.resolve(__dirname, './presets/lara/') } //import and apply preset
}
})
Best Regards,
I use the Primevue + Nuxt 3 + Tailwind for my project. I am working on my custom Nuxt 3 module which is responsible for setting up the project's theme. This module has a default preset but I want to have the ability to override one of the components in this preset. I want to pass it as a parameter to my module in
nuxt.config
fileMy
preset
is just the object that has for example one override forbutton
In my module I want to have the ability to do something like
Is there any workaround for it?