UNPKG

yanzhen-design-vue

Version:

15 lines (14 loc) 472 B
import { defineAsyncComponent } from "vue"; import { defineComponent, withInstall } from "@yanzhen-lowcode/core"; import { formProps, formEmits } from "./src/form.mjs"; const Form = defineComponent("form", { props: formProps, emits: formEmits, styleImport: () => import("./style/index.mjs"), component: defineAsyncComponent(async () => import("./src/form.vue.mjs")) }); const YzSchemaForm = withInstall(Form); export { YzSchemaForm, YzSchemaForm as default };