Tailwind ptOptions implementation fixes

pull/4600/head
Tuğçe Küçükoğlu 2023-10-12 18:10:46 +03:00
parent a055d09687
commit b242d9d082
1 changed files with 1 additions and 1 deletions

View File

@ -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);`;