Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Shadow DOM support? #43

Open
rbanks54 opened this issue Nov 29, 2023 · 1 comment
Open

Shadow DOM support? #43

rbanks54 opened this issue Nov 29, 2023 · 1 comment
Labels
open to ideas Something I don't know how to fix but if someone has ideas I'm game to explore options

Comments

@rbanks54
Copy link

Yay for old legacy CSS that over=-used !important.

I want to mount a component from a vue library into the ShadowDOM so that the host angular app can't rub its grubby !important rules all over the styles provided by the component library (loaded from a separate CSS file).

I noticed issue in the original ngvue project as well: ngVue/ngVue#145

Given you're busy, I'm not expecting you to implement anything, but I am curious to hear your thoughts on a clean way to do this with nvgue3. A plugin perhaps? Extra options in the directive? Some other approach?

@jaredmcateer
Copy link
Owner

Sorry I have next to no experience with working with the shadow dom and web components, in theory it should be possible but from what I've looked into it feels like it might be a completely alternative solution to ngVue where there would be a fair amount of overlap in responsibilities.

@jaredmcateer jaredmcateer added the open to ideas Something I don't know how to fix but if someone has ideas I'm game to explore options label Dec 31, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
open to ideas Something I don't know how to fix but if someone has ideas I'm game to explore options
Projects
None yet
Development

No branches or pull requests

2 participants