2022-01-05 14:17:06 +08:00
|
|
|
import { $t } from "/@/plugins/i18n";
|
2022-03-01 10:58:55 +08:00
|
|
|
const Layout = () => import("/@/layout/index.vue");
|
2021-10-16 16:16:58 +08:00
|
|
|
|
|
|
|
|
const homeRouter = {
|
|
|
|
|
path: "/",
|
|
|
|
|
name: "home",
|
|
|
|
|
component: Layout,
|
|
|
|
|
redirect: "/welcome",
|
|
|
|
|
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
|
|
|
rank: 0
|
|
|
|
|
},
|
|
|
|
|
children: [
|
|
|
|
|
{
|
|
|
|
|
path: "/welcome",
|
|
|
|
|
name: "welcome",
|
|
|
|
|
component: () => import("/@/views/welcome.vue"),
|
|
|
|
|
meta: {
|
2022-01-05 14:17:06 +08:00
|
|
|
title: $t("menus.hshome"),
|
2022-02-05 14:45:20 +08:00
|
|
|
i18n: true
|
2021-10-16 16:16:58 +08:00
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
]
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
export default homeRouter;
|