You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
27 lines
561 B
27 lines
561 B
import { $t } from "@/plugins/i18n";
|
|
import type { RouteConfigsTable } from "/#/index";
|
|
const Layout = () => import("@/layout/index.vue");
|
|
|
|
const homeRouter: RouteConfigsTable = {
|
|
path: "/",
|
|
name: "Home",
|
|
component: Layout,
|
|
redirect: "/welcome",
|
|
meta: {
|
|
icon: "home-filled",
|
|
title: $t("menus.hshome"),
|
|
rank: 0
|
|
},
|
|
children: [
|
|
{
|
|
path: "/welcome",
|
|
name: "Welcome",
|
|
component: () => import("@/views/welcome/index.vue"),
|
|
meta: {
|
|
title: $t("menus.hshome")
|
|
}
|
|
}
|
|
]
|
|
};
|
|
|
|
export default homeRouter;
|