Skip to content

Commit 9726681

Browse files
committed
fixed module import
1 parent 4951337 commit 9726681

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

packages/vue-final-modal/index.js

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,6 @@ import modal from './VueFinalModal.vue'
22

33
export const VueFinalModal = modal
44

5-
export default {
6-
install(Vue) {
7-
Vue.component('VueFinalModal', VueFinalModal)
8-
},
9-
VueFinalModal
5+
export const install = function(Vue) {
6+
Vue.component('VueFinalModal', VueFinalModal)
107
}

0 commit comments

Comments
 (0)