Closed
Description
Mutations are called when used with Store
My code looks like this..
[In App.vue]
import VueSocketio from 'vue-socket.io-extended'
import io from 'socket.io-client'
import store from './store'
Vue.use(VueSocketio, io(`http://${window.location.hostname}`), { store });
My mutation is like this in my store's mutations
SOCKET_message (state, data) {
console.log(data)
}
From the server, we are emitting ('message', data)
Please be noted that I am using Quasar and initializing it in App.vue. Works fine with components but not with Vuex store.