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