Unknown custom element router-view
See original GitHub issueI have Vuera loaded in the same file as my vue router but when I mount vuera it affects vue-router. Here’s my router file:
import Vue from 'vue'
import Router from 'vue-router'
import { VuePlugin } from 'vuera'
import Home from '@/components/Home'
Vue.use(VuePlugin)
Vue.use(Router)
export default new Router({
routes: [
{
path: '/',
name: 'Home',
component: Home
}
]
})
when I take out the 3rd and 6th line with Vuera/VuePlugin, the app works again. Here’s the error I get:
Unknown custom element: <router-view>
Issue Analytics
- State:
- Created 6 years ago
- Reactions:1
- Comments:9 (5 by maintainers)
Top Results From Across the Web
[Vue warn]: Unknown custom element: <router-view> - did you ...
unfortunately starting a file gives me an error: [Vue warn]: Unknown custom element: - did you register the component correctly? For recursive ...
Read more >Unknown custom element: <router-view> · Issue #845 - GitHub
I've migrated a project to vue 2, veux 2 and vue-router 2. I read the docs before and also the migration guide, but...
Read more >[Vue warn]: Unknown custom element: <router-view> - Laracasts
Any idea why i'm getting this error?: admin.js:4555 [Vue warn]: Unknown custom element: - did you register the component correctly? For recursive components ......
Read more >[Vue warn]: Unknown custom element: <route-view> - did you ...
I have a problem with vue-router. And I have no answer after search in goolge and here.
Read more >Unknown custom element: <router-link> — did you register the ...
This post is about the errors I encountered while working with vue-router and routers in Laravel using Vue and Vuetify. This can also...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
FYI, I wrote about this here https://x-team.com/blog/react-vue-component-integration/
I did some investigation and found out that there’s some bug in my Vue plugin that breaks globally registered Vue components. Will fix ASAP.