diff --git a/components/doc/codeeditor/templates.js b/components/doc/codeeditor/templates.js index 2cdb86e6c..3a7c6fcdf 100644 --- a/components/doc/codeeditor/templates.js +++ b/components/doc/codeeditor/templates.js @@ -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);`;