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