change global variable name

This commit is contained in:
jmia 2020-10-21 18:36:08 -04:00
parent a1bc422202
commit 81ce2865b8

View file

@ -28,9 +28,9 @@ export default class VueSocketIO {
*/ */
install(app){ install(app){
app.config.globalProperties.$http = this.io; app.config.globalProperties.$socket = this.io;
app.config.globalProperties.$vueSocketIo = this; app.config.globalProperties.$vueSocketIo = this;
app.mixin(Mixin); app.mixin(Mixin);
Logger.info('Vue-Socket.io plugin enabled'); Logger.info('Vue-Socket.io plugin enabled');