0👍
If you are not using namespaces try with this:
commit('SET_AUTH', data.data.user, { root: true })
if your are using namespaces
commit('namespace/SET_AUTH', data.data.user, { root: true })
Source:stackexchange.com
0👍
If you are not using namespaces try with this:
commit('SET_AUTH', data.data.user, { root: true })
if your are using namespaces
commit('namespace/SET_AUTH', data.data.user, { root: true })