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

Mount Vue in ShadowDOM #145

Open
kchapple opened this issue Dec 1, 2022 · 1 comment
Open

Mount Vue in ShadowDOM #145

kchapple opened this issue Dec 1, 2022 · 1 comment

Comments

@kchapple
Copy link

kchapple commented Dec 1, 2022

Hi @jaredmcateer
Great work with this plug-in!

I am already using mgVue and it works great. In my use-case, I need to mount a vue component but I don’t want the styles from angular to bleed down into vue. Rather than fix one-off I issues, I’m going for isolation of the vue component.

I’m interested in adding an option to mount the vue component in a shadowDOM root element.

I’m wondering if you thought this was possible?

I was thinking that it could just be a small tweak to ngLinker but haven’t been able to get it to work yet.

@jaredmcateer
Copy link
Member

jaredmcateer commented Dec 2, 2022

Hey @kchapple, I wouldn't be opposed to incorporating a feature if it's possible but I do not have time to work on it. I would image this should be configurable with a directive and/or globally on the ngVueProvider

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants