leacoleaco / el-form-auto

A flexable dynamic form! Easily to create a form with discriptor config. Demo: https://leacoleaco.github.io/el-form-auto-example/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

A flexable dynamic form! Easily to create a form with discriptor config. Demo: https://leacoleaco.github.io/el-form-auto-example/

License:MIT License


Languages

Language:Vue 80.4%Language:JavaScript 17.2%Language:HTML 2.4%