import type { RouteRecordRaw } from "vue-router"; import NotFound from "@/views/exceptions/NotFound.vue"; import Forbidden from "@/views/exceptions/Forbidden.vue"; import BasicLayout from "@uc/layouts/BasicLayout.vue"; import ResetPassword from "@uc/views/ResetPassword.vue"; export const routes: Array = [ { path: "/:pathMatch(.*)*", component: BasicLayout, children: [{ path: "", name: "NotFound", component: NotFound }], }, { path: "/403", component: BasicLayout, children: [ { path: "", name: "Forbidden", component: Forbidden, }, ], }, { path: "/reset-password/:username", component: ResetPassword, name: "ResetPassword", meta: { title: "core.uc_reset_password.title", }, }, ]; export default routes;