ktsn / vue-template-loader

Vue.js 2.0 template loader for webpack
MIT License
266 stars 26 forks source link

Utilize deep combinator instead of :global #33

Closed ktsn closed 7 years ago

ktsn commented 7 years ago

I just realized there is a >>> combinator for applying styles any descendant components in Shadow DOM. I think it would be better to use more standard approach.

With >>> combinator, it works like :global but it requires an ancestor element as it actually is a combinator.

ref #23

Toilal commented 7 years ago

Great ! No need to manually require global css styles now :)