Is it possible to register two component in same app
akhi-ninja opened this issue · 0 comments
akhi-ninja commented
I was creating custom component which can use in non vue app , i was able to register one component
like this
const CustomElement = wrap(Vue, App); window.customElements.define('cust-element', CustomElement);
when i do build vue-cli-service build --target wc --name my-cust-el
its generating component JS out in dist folder . Is it possible to create multiple components ? can we wrap multiple elements ?