diff options
| author | Roger Braun <roger@rogerbraun.net> | 2017-02-19 14:25:31 +0100 |
|---|---|---|
| committer | Roger Braun <roger@rogerbraun.net> | 2017-02-19 14:25:31 +0100 |
| commit | 9cf438f1b2d35b9282861128f2267d54d97d7588 (patch) | |
| tree | 513e9f5fc299baf0967c6d8b0351e97133467625 /src/main.js | |
| parent | 2933dc30a5de82469ee81720bc78c61f0db7cc4a (diff) | |
Remove state persistence for now.
Makes chrome really slow and adds problems with tab synchronization.
Diffstat (limited to 'src/main.js')
| -rw-r--r-- | src/main.js | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/main.js b/src/main.js index 841e61a7..fd03e519 100644 --- a/src/main.js +++ b/src/main.js @@ -17,7 +17,7 @@ import configModule from './modules/config.js' import VueTimeago from 'vue-timeago' -import createPersistedState from 'vuex-persistedstate' +// import createPersistedState from 'vuex-persistedstate' Vue.use(Vuex) Vue.use(VueRouter) @@ -28,9 +28,9 @@ Vue.use(VueTimeago, { } }) -const persistedStateOptions = { - paths: ['users.users', 'statuses.notifications'] -} +// const persistedStateOptions = { +// paths: ['users.users', 'statuses.notifications'] +// } const store = new Vuex.Store({ modules: { @@ -39,7 +39,7 @@ const store = new Vuex.Store({ api: apiModule, config: configModule }, - plugins: [createPersistedState(persistedStateOptions)], + // plugins: [createPersistedState(persistedStateOptions)], strict: process.env.NODE_ENV !== 'production' }) |
