vue covering UI component styles do not take effect

Check the check is not added scoped

In vue, we need to refer to sub-assemblies, including ui component (element, iview).

But after adding scoped within parent components, sub-assemblies writing styles in the parent assembly is ineffective.

After removing the scoped, style can be covered. But it will pollute the global style, in order to solve this problem

I add id selectors outside of the component reference

Guess you like

Origin www.cnblogs.com/ll15888/p/11865056.html