Files
vue-pure-admin/src/router/modules/home.ts
2022-11-25 12:49:38 +08:00

26 lines
522 B
TypeScript

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