mirror of
https://github.com/bufanyun/hotgo.git
synced 2025-11-13 12:43:45 +08:00
13 lines
409 B
TypeScript
13 lines
409 B
TypeScript
import { renderIcon } from '@/utils/index';
|
|
import * as antdIcons from '@vicons/antd';
|
|
// import * as x5Icons from '@vicons/ionicons5';
|
|
|
|
export const constantRouterIcon = {};
|
|
for (const element of Object.keys(antdIcons)) {
|
|
constantRouterIcon[element] = renderIcon(antdIcons[element]);
|
|
}
|
|
|
|
// for (const element of Object.keys(x5Icons)) {
|
|
// constantRouterIcon[element] = renderIcon(x5Icons[element]);
|
|
// }
|