no message
Former-commit-id: 00d87165be5ec4f3962f7ac6094b2d2376fcffb8 Former-commit-id: a7f88602f7367789a9e0ba08823d6e6d996d1b41 Former-commit-id: e77ca1056c8f98e206f5ceef867ee3e97ae784a8
This commit is contained in:
@@ -29,8 +29,12 @@ import '@/mock/index.js'
|
||||
// vuex
|
||||
import store from '@/store/index.js'
|
||||
|
||||
import d2Admin from '@/plugin/d2Admin'
|
||||
|
||||
Vue.use(ElementUI)
|
||||
|
||||
Vue.use(d2Admin)
|
||||
|
||||
Vue.config.productionTip = false
|
||||
|
||||
/* eslint-disable no-new */
|
||||
|
||||
9
src/plugin/d2Admin/index.js
Normal file
9
src/plugin/d2Admin/index.js
Normal file
@@ -0,0 +1,9 @@
|
||||
export default {
|
||||
install (Vue, options) {
|
||||
Vue.mixin({
|
||||
created () {
|
||||
console.log('hahaha')
|
||||
}
|
||||
})
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user