2023-11-13 08:56:08 +00:00
|
|
|
import Forbidden from "@/views/exceptions/Forbidden.vue";
|
2024-06-26 10:42:50 +00:00
|
|
|
import NotFound from "@/views/exceptions/NotFound.vue";
|
2023-11-09 06:56:06 +00:00
|
|
|
import BasicLayout from "@console/layouts/BasicLayout.vue";
|
2024-06-26 10:42:50 +00:00
|
|
|
import type { RouteRecordRaw } from "vue-router";
|
2022-04-12 06:23:14 +00:00
|
|
|
|
|
|
|
export const routes: Array<RouteRecordRaw> = [
|
|
|
|
{
|
2022-06-17 06:12:15 +00:00
|
|
|
path: "/:pathMatch(.*)*",
|
2022-05-12 07:28:21 +00:00
|
|
|
component: BasicLayout,
|
2022-06-17 06:12:15 +00:00
|
|
|
children: [{ path: "", name: "NotFound", component: NotFound }],
|
2022-04-12 10:06:13 +00:00
|
|
|
},
|
2022-07-15 08:26:27 +00:00
|
|
|
{
|
|
|
|
path: "/403",
|
|
|
|
component: BasicLayout,
|
|
|
|
children: [
|
|
|
|
{
|
|
|
|
path: "",
|
|
|
|
name: "Forbidden",
|
|
|
|
component: Forbidden,
|
|
|
|
},
|
|
|
|
],
|
|
|
|
},
|
2022-04-12 06:23:14 +00:00
|
|
|
];
|
|
|
|
|
|
|
|
export default routes;
|