# Install

# CDN

Currently, you can get the latest version of the resource through unpkg.com/@form-create/iview (opens new window), and you can start using js by introducing js on the page.

<!-- 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/iview/dist/form-create.min.js"></script>

# NPM

install

It is recommended to use npm to install, it can be used better with webpack (opens new window) packaging tool.

iview 3.x,^2.13 version

npm i @form-create/iview@^2.5

iview/view-design 4.x version

npm i @form-create/iview4@^2.5

import

import formCreate from '@form-create/iview'
//或者
import formCreate from '@form-create/iview4'

# Compatible

  • iview 2.13.0

  • iview 3.x

  • iview/view-design 4.x

# Legend

form-create 图例