# lm-dynamic-form

> A Vue.js project

Latest version **1.0.3** (published 2021-12-31) · MIT license · 0 weekly downloads

## Install

```sh
npm install lm-dynamic-form
pnpm add lm-dynamic-form
yarn add lm-dynamic-form
bun add lm-dynamic-form
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.3 |
| Published | 2021-12-31 |
| First published | 2021-12-30 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 2 |
| Unpacked size | 7 MB |
| Known vulnerabilities | 0 (+1 in 1 direct dependencies) |
| Install scripts | no |
| GitHub stars | 2 |
| Author | MinnBt |
| Maintainers | annbt |

## Links

- npm: https://www.npmjs.com/package/lm-dynamic-form
- Repository: https://github.com/MinnBt/dynamicForm
- Homepage: https://github.com/MinnBt/dynamicForm#readme
- Issues: https://github.com/MinnBt/dynamicForm/issues
- npm.io page: https://npm.io/package/lm-dynamic-form

## Dependencies (2)

- [vue](https://npm.io/package/vue.md) ^2.5.11
- [element-ui](https://npm.io/package/element-ui.md) ^2.15.6

## Recent versions

- 1.0.3 (latest) — 2021-12-31
- 1.0.2 — 2021-12-30
- 1.0.1 — 2021-12-30

## README

# dynamic-form
![img.png](img.png)
> A Vue.js project

# install dependencies
npm install lm-dynamic-form

# main.js
import dynamicForm from 'lm-dynamic-form'
Vue.use(dynamicForm);

#Page usage
<lm-dynamic-form :form="form"></lm-dynamic-form>

#Parameter configuration

form.formConfig (表单配置对象)

     lableWidth：‘lable的宽度’
     size：‘输入框大小、（medium / small / mini）’
     labelPosition：lable 对齐方式 (left/right)’

form.freedomConfig(表单内容)

          "name": str,
          "isRules":Boolean,
          "type": "el_select",（el_ 表单的类型）
          "title": "lable 的名称",
          "prompt_msg": "输入提示内容",
          "selectObj":例如 下拉 内容

          selectObj:Array  {id:'',name:''}

form.methods(返回方法)

    @changegetCommom：val Object (返回的数据)

    @changBtns：如果有按钮 返回的 Object

For detailed explanation on how things work, consult the [docs for vue-loader](http://vuejs.github.io/vue-loader).

---
_Source: https://npm.io/package/lm-dynamic-form · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
