UNPKG

yanzhen-design-vue

Version:

14 lines (13 loc) 446 B
import { defineAsyncComponent } from "vue"; import { defineComponent, withInstall } from "@yanzhen-lowcode/core"; import { buttonProps, buttonEmits } from "./src/button.mjs"; const Button = defineComponent("button", { props: buttonProps, emits: buttonEmits, component: defineAsyncComponent(async () => import("./src/button.vue.mjs")) }); const YzSchemaButton = withInstall(Button); export { YzSchemaButton, YzSchemaButton as default };