Merge pull request 'test : 测试ci/cd-3' (#1047) from master into prod

Reviewed-on: http://git.feashow.cn/clay/mosr-web/pulls/1047
This commit is contained in:
2025-06-13 10:10:41 +00:00
2 changed files with 7 additions and 7 deletions

View File

@@ -48,6 +48,6 @@
"unplugin-auto-import": "^0.15.3",
"unplugin-vue-components": "^0.24.1",
"vite": "^4.3.4",
"vite-plugin-svg-icons": "^2.0.1"
"vite-plugin-svg-icons": "^0.4.0"
}
}

View File

@@ -41,12 +41,12 @@ export default defineConfig({
Icons({
autoInstall: true,
}),
// viteSvgIcons({
// // 指定需要缓存的图标文件夹
// iconDirs: [path.resolve(process.cwd(), 'src/assets/svg')],
// // 指定symbolId格式
// symbolId: 'icon-[dir]-[name]',
// }),
viteSvgIcons({
// 指定需要缓存的图标文件夹
iconDirs: [path.resolve(process.cwd(), 'src/assets/svg')],
// 指定symbolId格式
symbolId: 'icon-[dir]-[name]',
}),
Inspect(),
],
resolve: {