This is a library that allows you to build forms using descriptive configurations. see this demo
- install el-form-auto.
if you use vue2, you can use this command.
npm install el-form-auto element-ui --save
if you use vue3, you can use this command.
npm install le-auto-form element-plus --save
- Global reg the element-ui component in main.js file.
import ElementUI from 'element-ui'
Vue.use(ElementUI)
-
Binding data and description.
-
Usage you can see the demo: Demo.vue
- Install dependency
npm install
- Run build-lib
npm run build-lib