defineCustomElement causes style loss
Vue version
3.3.4
Link to minimal reproduction
Steps to reproduce
Not needed
What is expected?
I'm not sure if this is a bug.
When I use defineCustomElement
to convert a Vue Component
to a Web Component
,Import another component into a Vue component, and the style
of the other component will not be injected into the shadow root
of the custom element.
What is actually happening?
The 2 components of Vue are used as a web component (at least it appears to be in a shadow root
), and the styles should be injected into the shadow root
System Info
No response
Any additional comments?
No response