index.js 360 B

12345678910111213141516
  1. import * as components from './views/workflow/edit/components'
  2. // 必不可少
  3. import '@/assets/style/style.css'
  4. var Workflow = {}
  5. export default Workflow
  6. const install = Workflow.install
  7. Workflow.install = (Vue, args) => {
  8. install.call(Workflow, Vue, {
  9. components
  10. })
  11. }
  12. if (typeof window !== 'undefined' && window.Vue) {
  13. window.Vue.use(Workflow)
  14. }