t-vue-form-preview

1.2.8 • Public • Published

usage:

###1. install npm install t-vue-form-preview


    ...
 components: {FormDesigner,}

###2. register component ####(1).in main.js

  import 't-vue-form-preview/dist/index.css'
  import FormDesigner from 't-vue-form-preview'
   
  .....
  Vue.component('FormDesigner', FormDesigner);

####(2).in .vue file

  import 't-vue-form-preview/dist/index.css'
  import FormDesigner from 't-vue-form-preview'
   
  .....
  components: {FormDesigner}

  1. in .vue file
  <FormDesigner ref="FD"
                    :view="!edit"
                    :id="formId"
                    :userId="userId"
                    :rules="formRules"
                    :formModel="formModel"
                    :fdFormItems="fdFormItems"
                    :fdFormData="fdFormData"
      ></FormDesigner>

Dependents (0)

Package Sidebar

Install

npm i t-vue-form-preview

Weekly Downloads

93

Version

1.2.8

License

none

Unpacked Size

1.33 MB

Total Files

7

Last publish

Collaborators

  • hamupp
  • qml