29 lines
514 B
TypeScript
29 lines
514 B
TypeScript
import { $t } from "/@/plugins/i18n";
|
|
import Layout from "/@/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;
|