1.1.1 • Published 7 years ago
@xizhouh/former v1.1.1
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/formlerQuick 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