vuex-module-decorators rawError globally
snippet in javascript

vuex-module-decorators rawError globally

user3390

import { config } from 'vuex-module-decorators'
// Set rawError to true by default on all @Action decorators
config.rawError = true

vuex-module-decorators access other state

user1256

// Inside namespaced module
const namespacedState = this.context.rootState.namespaceName