vuedisplay error page if page not found code example
Example 1: error page vue
//define a new route for the error page
{path: '*', component: [errorPageComponent]},
Example 2: 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