vue error page handleing code example
Example: error page vue
//define a new route for the error page
{path: '*', component: [errorPageComponent]},
//define a new route for the error page
{path: '*', component: [errorPageComponent]},