Subscribe on changes!

Styles are missng for web component

avatar
Aug 11th 2021

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.

avatar
Aug 13th 2021

I noticed similar problem myself - you can change App.vue to App.ce.vue, then vue-loader should get styles from main component's