diff --git a/frontend/src/components/icon-custom/index.ts b/frontend/src/components/icon-custom/index.ts new file mode 100644 index 0000000..5183726 --- /dev/null +++ b/frontend/src/components/icon-custom/index.ts @@ -0,0 +1,9 @@ +import { h } from 'vue' +import { ElIcon } from 'element-plus-secondary' +import Icon from './src/Icon.vue' +const hIcon = (name: string) => { + return h(ElIcon, null, { + default: () => h(name), + }) +} +export { Icon, hIcon }