0👍
So the first thing, you dont need to register Vue.component('dashboard', dashboard)
The Reference to in the routes is enough.
Everything else looks good for me. Do you have any Errors in your console?
Try routes = [ { path: '', component ..
- [Vuejs]-Unknown custom element: <x-flex> – did you register the component correctly? For recursive components, make sure to provide the "name" option
- [Vuejs]-How set entire object in computed property VUEjs
0👍
It seems like you haven’t registered any component for this action
router.push({
path: 'details/'+eventId
});
It seems like you need something like that in your router:
{ path: '/details', component: Details }
Source:stackexchange.com