@xizhouh/former

Amazing form adapter, write less, do much.


Keywords
former, json-schema, adapter, element-ui, vuejs, vuejs2, form
License
WTFPL
Install
npm install @xizhouh/former@1.1.1

Documentation

Former

👻 Amazing form adapter, write less, do much.


Build Status codecov Codacy Badge version size downloads PRs Welcome

Feature

Former provides an adapter for the mainstream UI library form components and the ability from JSON schema to Vue view.

Install

This module is distributed via npm which is bundled with node and should be installed as one of your project's dependencies:

$ npm install --save @xizhouh/formler

Quick Start

// main.js
import Vue from 'vue';
import Former from '@xizhouh/former';
import ElementUI from 'element-ui';
import 'element-ui/lib/theme-chalk/index.css';
Vue.use(ElementUI);

// or use iView
// import iView from 'iview';
// import 'iview/dist/styles/iview.css';
// Vue.use(iView);

Vue.component('Former', Former);

For more information like adapting other UI librarys, please refer to Quick Start in our documentation.

Browser Support

Modern browsers and Internet Explorer 10+.

License

WTFPL