test : 测试ci/cd-3
This commit is contained in:
@@ -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"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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: {
|
||||
Reference in New Issue
Block a user