diff options
| author | Roger Braun <roger@rogerbraun.net> | 2017-02-16 14:23:59 +0100 |
|---|---|---|
| committer | Roger Braun <roger@rogerbraun.net> | 2017-02-16 14:23:59 +0100 |
| commit | ae388d79278157e33d9818f6365d0d2fb1c116b5 (patch) | |
| tree | c91b57763f7396b861f372e602d93943b17fbce5 /src/main.js | |
| parent | e892fffda797c4d5e6aef54a488f15f55526a29d (diff) | |
Be strict about putting changes in mutations.
Diffstat (limited to 'src/main.js')
| -rw-r--r-- | src/main.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/main.js b/src/main.js index 84db5c86..20489d42 100644 --- a/src/main.js +++ b/src/main.js @@ -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 = [ |
