feat: 菜单支持fontawesome、iconfont、ep/icons、自定义svg

This commit is contained in:
xiaoxian521
2021-11-28 01:07:16 +08:00
parent be3a8a6949
commit 8685092260
12 changed files with 142 additions and 58 deletions

View 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;