Vue-router redirect on page not found (404)
I think you should be able to use a default route handler and redirect from there to a page outside the app, as detailed below: const ROUTER_INSTANCE = new VueRouter({ mode: “history”, routes: [ { path: “/”, component: HomeComponent }, // … other routes … // and finally the default route, when none of the … Read more