mirror of
https://github.com/pure-admin/vue-pure-admin.git
synced 2025-11-09 13:53:38 +08:00
feat: card list demo (#242)
This commit is contained in:
28
src/router/modules/list.ts
Normal file
28
src/router/modules/list.ts
Normal file
@@ -0,0 +1,28 @@
|
||||
import { $t } from "/@/plugins/i18n";
|
||||
const Layout = () => import("/@/layout/index.vue");
|
||||
|
||||
const ableRouter = {
|
||||
path: "/list",
|
||||
component: Layout,
|
||||
redirect: "/list/card",
|
||||
meta: {
|
||||
icon: "list-check",
|
||||
title: $t("menus.list"),
|
||||
i18n: true,
|
||||
rank: 12
|
||||
},
|
||||
children: [
|
||||
{
|
||||
path: "/list/card",
|
||||
name: "listCard",
|
||||
component: () => import("/@/views/list/card/index.vue"),
|
||||
meta: {
|
||||
title: $t("menus.listCard"),
|
||||
i18n: true,
|
||||
showParent: true
|
||||
}
|
||||
}
|
||||
]
|
||||
};
|
||||
|
||||
export default ableRouter;
|
||||
Reference in New Issue
Block a user