mw-form-create
米未定制版 FormCreate 低代码表单渲染器(基于 @form-create/element-ui v3.3.1 构建,Vue3 + Element Plus 栈,dist 自包含)
187
| Install | |
|---|---|
npm install mw-form-create |
|
| Latest Version: | 3.3.1 |
| Vue: | 3 |
| License: | MIT |
| Last Updated: | Sep 9, 2026 |
| Links: | Gitee · npm |
Maintainer: zhangzhenxiang
mw-form-create
米未定制版 FormCreate 低代码表单渲染器,基于开源 @form-create/element-ui v3.3.1 源码构建(Vue3 + Element Plus 栈)。
dist为自包含产物:@form-create/core、@form-create/utils及全部component-elm-*组件已打包进去,CSS 注入 JS,无需额外样式文件- 运行时仅要求 peer:
vue ^3.5.12、element-plus ^2.11.1 @form-create/core仅用于 TypeScript 类型声明解析
使用
pnpm add mw-form-create
import ElementPlus from 'element-plus';
import 'element-plus/dist/index.css';
import formCreate from 'mw-form-create';
// 挂载顺序:先 UI 框架,再 formCreate
app.use(ElementPlus);
app.use(formCreate);
<template>
<form-create v-model:api="fApi" v-model="formData" :rule="rule" :option="option" />
</template>
规则(rule)/ 配置(option)/ api 用法与 @form-create/element-ui 完全一致。
从源码重新构建
git clone https://gitee.com/xaboy/form-create.git && cd form-create
pnpm install
pnpm --filter @form-create/element-ui run build:lib
# 将 packages/element-ui/{dist,types} 同步到本目录后 npm publish
上游许可证:MIT(见 LICENSE,版权归属 xaboy)。
Related Packages
Version History
| Version | Released | Vue | License |
|---|---|---|---|
| 3.3.1 | ^3.5.12 | MIT |