mirror of
https://github.com/pure-admin/pure-admin-thin.git
synced 2025-12-14 14:20:31 +08:00
29 lines
524 B
TypeScript
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;
|