mirror of
https://github.com/pure-admin/vue-pure-admin.git
synced 2025-11-03 13:44:47 +08:00
feat: 菜单支持fontawesome、iconfont、ep/icons、自定义svg
This commit is contained in:
29
src/router/modules/tabs.ts
Normal file
29
src/router/modules/tabs.ts
Normal file
@@ -0,0 +1,29 @@
|
||||
import Layout from "/@/layout/index.vue";
|
||||
|
||||
const tabsRouter = {
|
||||
path: "/tabs",
|
||||
name: "reTabs",
|
||||
component: Layout,
|
||||
redirect: "/tags/index",
|
||||
meta: {
|
||||
icon: "IF-team-icontabs",
|
||||
title: "message.hstabs",
|
||||
i18n: true,
|
||||
showLink: true,
|
||||
rank: 8
|
||||
},
|
||||
children: [
|
||||
{
|
||||
path: "/tabs/index",
|
||||
name: "reTabs",
|
||||
component: () => import("/@/views/tabs/index.vue"),
|
||||
meta: {
|
||||
title: "message.hstabs",
|
||||
showLink: true,
|
||||
i18n: true
|
||||
}
|
||||
}
|
||||
]
|
||||
};
|
||||
|
||||
export default tabsRouter;
|
||||
Reference in New Issue
Block a user