2020-02-18 08:57:00 +01:00
|
|
|
import { RouteConfig } from "vue-router";
|
2021-06-16 14:39:43 +02:00
|
|
|
import { ImportedComponent } from "vue/types/options";
|
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,
|
2021-06-16 14:39:43 +02:00
|
|
|
component: (): Promise<ImportedComponent> =>
|
2020-11-30 10:24:11 +01:00
|
|
|
import(/* webpackChunkName: "Error" */ "../views/Error.vue"),
|
2019-04-01 11:49:54 +02:00
|
|
|
},
|
|
|
|
];
|