Tailwind ptOptions implementation fixes
parent
a055d09687
commit
b242d9d082
|
@ -58,7 +58,7 @@ const getVueApp = (props = {}, sourceType) => {
|
|||
|
||||
if (embedded) {
|
||||
// main.js
|
||||
unstyled += `, unstyled: true, pt: Tailwind`;
|
||||
unstyled += `, unstyled: true, pt: Tailwind, ptOptions: { mergeProps: true }`;
|
||||
imports += `import Tailwind from 'primevue/passthrough/tailwind';
|
||||
import ThemeSwitcher from './components/ThemeSwitcher.vue';`;
|
||||
element += `app.component('ThemeSwitcher', ThemeSwitcher);`;
|
||||
|
|
Loading…
Reference in New Issue