3 ms·
One of the biggest selling points for single file components is styling (with optional scoping): https://vue-loader.vuejs.org/en/features/scoped-css.html https:
by yunyu 9y ago
One of the biggest selling points for single file components is styling (with optional scoping): https://vue-loader.vuejs.org/en/features/scoped-css.html https://vue-loader.vuejs.org/en/features/scoped-css.html
If you need to override child component styles from a parent (bad idea in 99.999% of cases), /deep/ would work.
- _nalply 9y agoVue components are second class citizens compared to HTML elements, because you don't style them, you pass them props. This idea with stylable components is for a different framework, perhaps.