0👍
✅
Setting options.shadow=true
causes vue-custom-element
to set mode
to open
. Since your code is doing that, your custom element would already have an open shadow root.
Source:stackexchange.com