新上传

This commit is contained in:
2026-05-08 00:55:21 +08:00
parent 21cfaaadac
commit f8a18d7914
487 changed files with 88617 additions and 0 deletions

View File

@@ -0,0 +1,10 @@
import { createSvgIconsPlugin } from 'vite-plugin-svg-icons';
import path from 'path';
export default function createSvgImport () {
return createSvgIconsPlugin({
// 指定需要缓存的图标文件夹
iconDirs: [path.resolve(process.cwd(), 'src/icons/svg')],
// 指定symbolId格式
symbolId: 'icon-[name]'
})
}