vue store access state in actions

JavaScript
actions: {
  actionName ({ commit, state }, payload) {
    console.log(state)
  }
}
Source

Also in JavaScript: