mirror of
https://github.com/soybeanjs/soybean-admin.git
synced 2025-12-28 08:40:17 +08:00
feat(projects): 引入soybean-admin-tab、去除vite-plugin-svg-icons,用unplugin-icons实现自定义svg的iconify写法、代码优化
This commit is contained in:
@@ -30,3 +30,13 @@ export const icons = [
|
||||
'ic:baseline-filter-9',
|
||||
'ic:baseline-filter-9-plus'
|
||||
];
|
||||
|
||||
// const assetsSvg = import.meta.glob('../../../assets/svg/*.svg');
|
||||
// const PATH_PREFFIX = '../../../assets/svg/';
|
||||
// const SUFFIX = '.svg';
|
||||
// const CUSTOM_ICONIFY_PREFFIX = 'custom-';
|
||||
|
||||
// export const svgIcons = Object.keys(assetsSvg).map(key => {
|
||||
// const svgKey = key.replace(PATH_PREFFIX, '').replace(SUFFIX, '');
|
||||
// return CUSTOM_ICONIFY_PREFFIX + svgKey;
|
||||
// });
|
||||
|
||||
Reference in New Issue
Block a user