search

Home  >  Q&A  >  body text

javascript - How to write a vue UI framework?

Is there a complete tutorial, or should I write it directly under vue-cli?
Similar to element-ui or iview.
I already know how to write a single vue plug-in. How to integrate and package multiple plug-ins together?

// toast.js

var Toast = {};
Toast.install = function (Vue, options) {
    Vue.prototype.$msg = 'Hello World';
}
module.exports = Toast;

How to combine multiple plug-ins like this together?

習慣沉默習慣沉默2771 days ago755

reply all(1)I'll reply

  • PHP中文网

    PHP中文网2017-06-05 11:15:48

    Please refer to it

    https://github.com/iview/ivie...

    reply
    0
  • Cancelreply