Installation

CDN

Currently you can get the latest version of the resource via unpkg.com/form-create and introduce js on the page to get started.

<!-- import Vue.js -->
<script src="//vuejs.org/js/vue.min.js"></script>
<!-- import stylesheet -->
<link rel="stylesheet" href="//unpkg.com/iview/dist/styles/iview.css">
<!-- import iView -->
<script src="//unpkg.com/iview/dist/iview.min.js"></script>
<!-- import form-create -->
<script src="//unpkg.com/form-create/dist/form-create.min.js"></script>

NPM

Install iView with the node package manager. It can work with webpack and ES2015 very well

npm i form-create

legend

form-create 图例

Demo

With the CDN you can quickly write an example using iView, you can copy the code below or online preview