mixins

Estimated reading time: 1 minute

mixins

~ global

Vue.mixin({
  // code
})
// or
Vue.mixin(mixinName);

~ local

mixins: [mixinName]
  • https://vuejs.org/v2/guide/mixins.html
vue, vusjs