You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Both app instances to have same styles. Styles for custom app should be defined in shadowRoot
What is actually happening?
Styles are missing for custom-app component
I created a hello-world app and turned main app component into a web component. Now I expect custom-app web component to be styled exactly how normal app.
The text was updated successfully, but these errors were encountered:
I noticed similar problem myself - you can change App.vue to App.ce.vue, then vue-loader should get styles from main component's <style> and inject them into shadow dom root of the web component, but for me it don't inject nested components styles (only styles from main component are injected) :/
EDIT:
I see that there is already issue created for it - #4309
Version
3.2.2
Reproduction link
https://github.com/sherlock1982/hello-world-custom
Steps to reproduce
Just launch
yarn serve
and open http://localhost:8080/What is expected?
Both app instances to have same styles. Styles for custom app should be defined in shadowRoot
What is actually happening?
Styles are missing for custom-app component
I created a hello-world app and turned main app component into a web component. Now I expect
custom-app
web component to be styled exactly how normal app.The text was updated successfully, but these errors were encountered: