perf: all icons used in the core are offline (#4173)

* perf: all icons used in the core are offline

* chore: update default icon

* chore: update shadow
This commit is contained in:
Vben
2024-08-17 21:11:07 +08:00
committed by GitHub
parent 66808582ff
commit 3c17f4e9f8
30 changed files with 320 additions and 347 deletions

View File

@@ -4,7 +4,7 @@ import { Icon } from '@iconify/vue';
function createIconifyIcon(icon: string) {
return defineComponent({
name: `SvgIcon-${icon}`,
name: `Icon-${icon}`,
setup(props, { attrs }) {
return () => h(Icon, { icon, ...props, ...attrs });
},