@form-create/ant-design-vue
Version:
ant-design-vue动态表单|form-create is a form generation component that can generate dynamic rendering, data collection, verification and submission functions through JSON. Supports 3 UI frameworks, and supports the generation of any Vue components. Built-in 2
17 lines (11 loc) • 304 B
JavaScript
import antdvFormCreate from './core/index';
const FormCreate = antdvFormCreate();
if (typeof window !== 'undefined') {
window.formCreate = FormCreate;
if (window.Vue) {
FormCreate.install(window.Vue);
}
}
const maker = FormCreate.maker;
export {maker}
export default FormCreate;