Skip to content
This repository was archived by the owner on Oct 2, 2020. It is now read-only.

Commit 2a1b2c8

Browse files
committed
add vue2 compatibility
1 parent 07a66a4 commit 2a1b2c8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ export default {
4949
};
5050

5151
Vue.mixin({
52-
beforeCompile: addListeners,
52+
created: addListeners,
5353
beforeDestroy: removeListeners
5454
});
5555

0 commit comments

Comments
 (0)