UNPKG

yanzhen-design-vue

Version:

14 lines (13 loc) 416 B
import { defineAsyncComponent } from "vue"; import { defineComponent, withInstall } from "@yanzhen-lowcode/core"; import { iconProps, iconEmits } from "./src/icon.mjs"; const Icon = defineComponent("icon", { props: iconProps, emits: iconEmits, component: defineAsyncComponent(() => import("./src/icon.vue.mjs")) }); const YzSchemaIcon = withInstall(Icon); export { YzSchemaIcon, YzSchemaIcon as default };