Skip to content

Latest commit

 

History

History
52 lines (30 loc) · 782 Bytes

README.md

File metadata and controls

52 lines (30 loc) · 782 Bytes

Introduce

What is this

This is a library that allows you to build forms using descriptive configurations. see this demo

How to use in Vue2/3

  1. 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
  1. Global reg the element-ui component in main.js file.
import ElementUI from 'element-ui'

Vue.use(ElementUI)
  1. Binding data and description.

  2. Usage you can see the demo: Demo.vue

How to build lib

  1. Install dependency
npm install
  1. Run build-lib
npm run build-lib