Quick Start

TIP

The following demo codes are available for running in JSFiddle and Codepen.

So far, the UI libraries we support are as follows:

// 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);

If you are familiar with the use of these ui libraries, then you will be kind to the Former. Former also provides field merge to override the same field in UI libraries and JSON schema like type.

Last Updated: 2/15/2019, 4:04:50 AM