@xizhouh/former
v1.1.1
Published
Amazing form adapter, write less, do much.
Downloads
8
Maintainers
Readme
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