feat: 更新图标组件和Vite配置以支持自定义类名
This commit is contained in:
@ -88,6 +88,9 @@ export function Plugins() {
|
||||
return svg.replace(/^<svg /, '<svg fill="currentColor" ');
|
||||
}),
|
||||
},
|
||||
iconCustomizer(collection, icon, props) {
|
||||
props.class = 'unplugin-icons';
|
||||
},
|
||||
}),
|
||||
);
|
||||
|
||||
|
Reference in New Issue
Block a user