1.0.7 • Published 6 years ago

@strongsoft/vue-form v1.0.7

Weekly downloads
-
License
-
Repository
-
Last release
6 years ago

基于element-ui的vue表单组件封装,扩展了tree-select,richtext,upload

使用

依赖于element-ui ^2.0.1main.js文件中全局注册

import ElementUI from 'element-ui'
import 'element-ui/lib/theme-chalk/index.css'
Vue.use(ElementUI)

安装

npm i @strongsoft/vue-form --save

使用

<template>
    <vue-form :CONFIG="CONFIG"></vue-form>
</template>
import CONFIG_FORM from './demo/config-form.js'

import VueForm from './components/vue-form'

export default {
  name: 'app',
  components: {
    VueForm
  },
  data () {
    return {
      CONFIG_FORM
    }
  }
}

配置详情src/demo/config-form.js,有空再整理