vue-web-component-wrapper
vue-web-component-wrapper copied to clipboard
vue3 - web component wrapper plugin
First off, thanks for the work put in to support this package. It's unfortunate that is still necessary as the Vue team is not providing proper web component functionality in...
自定义组件的样式不应该紧跟着组件插入style标签,应该汇总去重后插入当前shadow-root下,当组件全部卸载时,再清除样式。 element-plus的列子,组件样式上升到了页面的head标签里,会污染主程序样式,而且组件越多,样式重复越多,例子里就能复现。
In [this post](https://github.com/EranGrin/vue-web-component-wrapper/issues/14#issuecomment-2078165851), you introduced a mechanism to replace all occurrences of `:root` with `:host`. > The Element plus lib uses CSS var and sets it to `:root` which the...
In my original app, I have an async setup. Among other async stuff, a configuration is fetched from a remote server. ``` loadConfig().then(() => { const app = createApp(App); app...
First of all: thanks for the 1.5 release without the ShadowRoot, I have been looking for this solution for so long (I have to deal with a legacy Vue application...
@EranGrin thank you so much for this amazing plugin -- it has offered us hope in using Vue 3 components in our legacy monolith stack. Also, Please forgive me for...
Hello, I’m using your package to convert my Vue app into a web component with Shadow DOM mode enabled. I'm facing issues when trying to include and use Bootstrap within...
Hi I am using this library with shadow root and HMR is working but tailwind styles are not updating. This is the `main.js` file ```JS import { defineCustomElement as VueDefineCustomElement,...
I am making a feed widget that a client can embed on external websites. I am loading sanitized CSS from an API after initialisation and need to be able to...