mirror of
https://github.com/pure-admin/pure-admin-thin.git
synced 2025-12-15 23:00:45 +08:00
feat: add pure-admin-thin
This commit is contained in:
26
src/router/modules/home.ts
Normal file
26
src/router/modules/home.ts
Normal file
@@ -0,0 +1,26 @@
|
||||
import Layout from "/@/layout/index.vue";
|
||||
|
||||
const homeRouter = {
|
||||
path: "/",
|
||||
name: "home",
|
||||
component: Layout,
|
||||
redirect: "/welcome",
|
||||
meta: {
|
||||
icon: "el-icon-s-home",
|
||||
showLink: true,
|
||||
rank: 0
|
||||
},
|
||||
children: [
|
||||
{
|
||||
path: "/welcome",
|
||||
name: "welcome",
|
||||
component: () => import("/@/views/welcome.vue"),
|
||||
meta: {
|
||||
title: "message.hshome",
|
||||
showLink: true
|
||||
}
|
||||
}
|
||||
]
|
||||
};
|
||||
|
||||
export default homeRouter;
|
||||
Reference in New Issue
Block a user