vueBus.js 115 B

123456
  1. import Bus from 'vue';
  2. let install = function (Vue) {
  3. Vue.prototype.$bus = new Bus()
  4. }
  5. export default {install};