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