feat:引入TreeSelect和IconSelect组件
This commit is contained in:
@@ -12,12 +12,11 @@ export default ({command, mode}: ConfigEnv): UserConfig => {
|
||||
|
||||
return (
|
||||
{
|
||||
|
||||
plugins: [
|
||||
vue(),
|
||||
viteSvgIcons({
|
||||
// 指定需要缓存的图标文件夹
|
||||
iconDirs: [path.resolve(process.cwd(), 'src/assets/icons')],
|
||||
iconDirs: [path.resolve(process.cwd(), 'src/assets/icons/svg')],
|
||||
// 指定symbolId格式
|
||||
symbolId: 'icon-[dir]-[name]',
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user