vuex reference to state data from action code example
Example 1: getter in action vuex
this.getters["store/getNameStore"]
Example 2: vue store access state in actions
actions: {
actionName ({ commit, state }, payload) {
console.log(state)
}
}