diff --git a/doc/src/store/index.ts b/doc/src/store/index.ts index 384e3e7..58fc8f2 100644 --- a/doc/src/store/index.ts +++ b/doc/src/store/index.ts @@ -6,11 +6,13 @@ import actions, { dispatch } from './actions' import mutations, { commit, getState } from './mutations' import getters from './getters' import state from './state' +import { isProduction } from 'src/envs' Vue.use(Vuex) export function createStore() { return new Vuex.Store({ + strict: !isProduction, state: state(), actions, mutations,