getting 404 error page not found vue-router code example
Example: page not found vue
//define a new route for the error page
{path: '*', component: [errorPageComponent]},
//create a component (f.e: errorPageComponent) that contains the message Page not found