mirror of
https://github.com/MetinSeylan/Vue-Socket.io.git
synced 2025-04-16 15:21:28 +02:00
commit
6a86e039a8
1 changed files with 3 additions and 3 deletions
|
@ -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');
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue