0693defd03
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
16 lines
393 B
TypeScript
16 lines
393 B
TypeScript
import { beforeRegisterGuard } from "@/router/guards/register-guard";
|
|
import { RouteConfig } from "vue-router";
|
|
|
|
export enum ErrorRouteName {
|
|
ERROR = "Error",
|
|
}
|
|
|
|
export const errorRoutes: RouteConfig[] = [
|
|
{
|
|
path: "/error",
|
|
name: ErrorRouteName.ERROR,
|
|
component: () => import(/* webpackChunkName: "Error" */ "../views/Error.vue"),
|
|
beforeEnter: beforeRegisterGuard,
|
|
},
|
|
];
|