diff --git a/src/Main.js b/src/Main.js index 59b2ce9..bff53a5 100644 --- a/src/Main.js +++ b/src/Main.js @@ -3,7 +3,7 @@ import Emitter from './Emitter' export default { - install(Vue, connection){ + install(Vue, ...connection){ if(!connection) throw new Error("[Vue-Socket.io] cannot locate connection") @@ -37,4 +37,4 @@ export default { } -} \ No newline at end of file +}