Closed fabiiomiiguel closed 4 months ago
I'm currently using web components with Vue 3, oruga-ui and theme-oruga.
Vue 3
oruga-ui
theme-oruga
With the release 3.0.0 the variables stop working correctly because the web components rely on shadow-dom, which doesn't use the :root selector.
3.0.0
shadow-dom
:root
I created a pull request to allow the usage of :host for web components.
:host
This code was based on this pull request from bootstrap.
What do you think?
Nice! Thanks for the improvement :) Will be released soon!
I'm currently using web components with
Vue 3
,oruga-ui
andtheme-oruga
.With the release
3.0.0
the variables stop working correctly because the web components rely onshadow-dom
, which doesn't use the:root
selector.I created a pull request to allow the usage of
:host
for web components.This code was based on this pull request from bootstrap.
What do you think?