2020-02-18 08:57:00 +01:00
|
|
|
import { beforeRegisterGuard } from "@/router/guards/register-guard";
|
|
|
|
import { RouteConfig } from "vue-router";
|
2019-04-01 11:49:54 +02:00
|
|
|
|
|
|
|
export enum ErrorRouteName {
|
2020-02-18 08:57:00 +01:00
|
|
|
ERROR = "Error",
|
2019-04-01 11:49:54 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
export const errorRoutes: RouteConfig[] = [
|
|
|
|
{
|
2020-02-18 08:57:00 +01:00
|
|
|
path: "/error",
|
2019-04-01 11:49:54 +02:00
|
|
|
name: ErrorRouteName.ERROR,
|
2020-10-14 18:59:36 +02:00
|
|
|
component: () => import(/* webpackChunkName: "Error" */ "../views/Error.vue"),
|
2019-04-01 11:49:54 +02:00
|
|
|
beforeEnter: beforeRegisterGuard,
|
|
|
|
},
|
|
|
|
];
|