Build an admin data-entry form for an ERP system by writing a JSON rule list instead of hand-coding HTML.
Generate a government registration form dynamically from a server-side JSON config without any frontend changes.
Drop form-create into an existing Vue.js ElementUI app to add complex forms without leaving the design system.
Use the maker builder API to construct a multi-field form programmatically with chained method calls in a Vue component.
Requires an existing Vue.js project with iViewUI or ElementUI already installed as peer dependencies.
form-create is a JavaScript library that lets developers build web forms by writing a JSON description rather than hand-coding HTML. You define what fields you want (text inputs, date pickers, file uploads, dropdowns, and so on) as a list of rules in JSON, pass that list to the form-create component, and it renders a complete, working form on the page. The library handles layout, validation, and collecting the submitted data automatically. The project targets Vue.js web applications and works alongside popular Vue UI component sets, specifically iViewUI and ElementUI (and their newer successors). This means the forms it generates look consistent with the rest of a Vue-based product and pick up the design styles from whichever component library the project already uses. Beyond the JSON-driven approach, the library includes a JavaScript builder called maker that lets you construct form rules in code without writing raw JSON objects. You call methods like maker.input('label', 'field_name') or maker.date('label', 'field_name') to add fields, and chain them together to build up a form programmatically. Both styles, JSON config and the maker builder, can be mixed in the same form. The library also supports two-way data binding, so the form values stay in sync with your application's data model as the user types. There is an event extension system for reacting to field changes, and you can drop any custom Vue component into a form alongside the 17 built-in field types. The README is brief and mostly contains installation and usage code examples. Installation is through npm. The library can also be loaded directly in a browser via a CDN script tag without a build step, which makes it usable in simpler setups. The project description mentions it has been used in production in government systems, office automation, ERP, and e-commerce platforms. The code is under the MIT license.
← xaboy on gitmyhub — every repo by this author, as a profile.
Verify against the repo before relying on details.