Open claudiolcastro opened 5 years ago
I have my vue project seted up and working fine, along with vue-router. But when build it to web-component, my <router-link> stop working..
<router-link>
"build-webcomp": "vue-cli-service build --mode staging --dest webcomp/static --target wc --name my-comp ./src/MyEntryComp.vue"
[Vue warn]: Unknown custom element: <router-view> - did you register the component correctly? For recursive components, make sure to provide the "name" option.
https://github.com/vuejs/vue-web-component-wrapper/issues/16#issuecomment-412682633
@claudiolcastro see #19 for a sample
I have my vue project seted up and working fine, along with vue-router. But when build it to web-component, my
<router-link>
stop working.."build-webcomp": "vue-cli-service build --mode staging --dest webcomp/static --target wc --name my-comp ./src/MyEntryComp.vue"
[Vue warn]: Unknown custom element: <router-view> - did you register the component correctly? For recursive components, make sure to provide the "name" option.