Files
wireguard-dashboard-admin/src/router/modules/remaining.ts

38 lines
721 B
TypeScript
Raw Normal View History

2022-01-05 14:17:06 +08:00
import { $t } from "/@/plugins/i18n";
2021-10-16 16:16:58 +08:00
import Layout from "/@/layout/index.vue";
const remainingRouter = [
{
path: "/login",
name: "login",
component: () => import("/@/views/login.vue"),
meta: {
2022-01-05 14:17:06 +08:00
title: $t("menus.hslogin"),
2021-10-16 16:16:58 +08:00
showLink: false,
2021-11-16 22:17:57 +08:00
i18n: true,
2021-10-16 16:16:58 +08:00
rank: 101
}
},
{
path: "/redirect",
name: "redirect",
component: Layout,
meta: {
2022-01-21 11:32:58 +08:00
icon: "home-filled",
2022-01-05 14:17:06 +08:00
title: $t("menus.hshome"),
2021-11-16 22:17:57 +08:00
i18n: true,
2021-10-16 16:16:58 +08:00
showLink: false,
rank: 104
},
children: [
{
path: "/redirect/:path(.*)",
name: "redirect",
component: () => import("/@/views/redirect.vue")
}
]
}
];
export default remainingRouter;