1.0.5 • Published 2 years ago
sky-generate-form v1.0.5
sky-generate-form
A form fast generator based on native Element-Plus
and VUE3
implementations that can help build forms quickly and build low-code platforms.
一个基于原生Element-Plus
与VUE3
实现的表单快速生成器,可以帮助快速构建表单,构建低代码平台
有什么限制呢?(What are the limits?)
Currently only systems built with VUE3
+ Element-Plus
are supported
目前只支持VUE3
+Element-Plus
构建的系统
如何使用呢?(How to use it?)
1、npm安装依赖(to install)
npm install sky-generate-form
2、引用(reference)
<template>
<sky-generate-form ref="test" :customConfig="json"></sky-generate-form>
</template>
<script>
import "sky-generate-form/style.css"
import SkyGenerateForm from 'sky-generate-form'
</script>
3、获取数据(to get the data)
const test = ref()
const getData = () => {
test.value.getData().then((res: any) => {
console.log('res', res)
})
}