[Vuejs]-VueJS – The app cant locate the route

0👍

It’s because of this path :

{
  path: '/:contato_id',
  name: 'view-contato',
  component: ViewContato
},

this path doesn’t have a specific name, only a param which means all the routes defined after it in the router not work.

So you can put the SignIn route before the ViewContato route or specify a name to ViewContato route (path: 'view/:contato_id' for example)

Leave a comment