Be strict about putting changes in mutations.

This commit is contained in:
Roger Braun 2017-02-16 14:23:59 +01:00
parent e892fffda7
commit ae388d7927
2 changed files with 7 additions and 3 deletions

View file

@ -38,7 +38,8 @@ const store = new Vuex.Store({
api: apiModule,
config: configModule
},
plugins: [createPersistedState(persistedStateOptions)]
plugins: [createPersistedState(persistedStateOptions)],
strict: process.env.NODE_ENV !== 'production'
})
const routes = [