Files
pure-admin-thin/src/router/modules/home.ts
2022-03-01 10:58:55 +08:00

29 lines
524 B
TypeScript

import { $t } from "/@/plugins/i18n";
const Layout = () => import("/@/layout/index.vue");
const homeRouter = {
path: "/",
name: "home",
component: Layout,
redirect: "/welcome",
meta: {
icon: "home-filled",
title: $t("menus.hshome"),
i18n: true,
rank: 0
},
children: [
{
path: "/welcome",
name: "welcome",
component: () => import("/@/views/welcome.vue"),
meta: {
title: $t("menus.hshome"),
i18n: true
}
}
]
};
export default homeRouter;