vuex-module-decorators rawError globally code example
Example 1: vuex-module-decorators rawError globally
import { config } from 'vuex-module-decorators'
// Set rawError to true by default on all @Action decorators
config.rawError = true
Example 2: vuex-module-decorators access other state
// Inside namespaced module
const namespacedState = this.context.rootState.namespaceName