0👍
✅
The problem was the execution of axios inside the mutation. There must be no asynchronous calls inside a Vuex mutation. As suggested by @e200
You shouldn’t do async operations inside mutations, use actions instead.
So it’s more than just a best practice, rather a must do.
Explianed here: mutations must be synchronous
Source:stackexchange.com