Nuxt/test/fixtures/basic/plugins/watch.js
2017-12-05 18:36:54 +08:00

13 lines
196 B
JavaScript

import Vue from 'vue'
const Plugin = {
install(Vue) {
Vue.mixin({
created() {
console.log('I am mixin') // eslint-disable-line no-console
}
})
}
}
Vue.use(Plugin)