DEV Community

loading...

Discussion on: Vue Socket.io and Toast Messages

Collapse
boomnarak profile image
boomnarak • Edited

sockets: {
auth: function(response) {
this.jwt = response.jwt;
}
},

hello, I have some question. it can't listener any (auth: function () ...) response from server but in vuex it work. please tell me what is the problem.

Collapse
boomnarak profile image
boomnarak • Edited

I can find that root cause. it work for me when I used npm i vue-socket.io@3.0.7