# Install

# CDN

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

<!-- import Vue.js -->
<script src="//vuejs.org/js/vue.min.js"></script>
<!-- import stylesheet -->
<link href="https://cdn.jsdelivr.net/npm/element-ui@2.8.2/lib/theme-chalk/index.css" rel="stylesheet">
<!-- import ElementUI -->
<script src="https://cdn.jsdelivr.net/npm/element-ui@2.8.2/lib/index.js"></script>
<!-- import form-create -->
<script src="//unpkg.com/@form-create/element-ui/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.

npm i @form-create/element-ui@^2.5

import

import formCreate from '@form-create/element-ui'

# compatible

  • element-ui ^2.8.2

# legend

form-create 图例