Hey!
I need to create a widget written in Vue that should work everywhere (native html + js, react, etc).
I use Vue 3 + Vue-CLI for that (I understand that it’s easier to do in Vite, but unfortunately I can’t use Vite for this project).
I found an article on how to create custom-elements:
And a great article on how to do it with Vite:
Can I make a custom element with Vue 3 and Vue-CLI that works the same way as in the article I linked to above? Or do I need to use Vue 2 + web-components for Vue-CLI?
I tried to build wc via vue-cli-service build --target wc
but got the error “Vue 3 support of the web component target is still under development.”