From 9cf438f1b2d35b9282861128f2267d54d97d7588 Mon Sep 17 00:00:00 2001 From: Roger Braun Date: Sun, 19 Feb 2017 14:25:31 +0100 Subject: [PATCH] Remove state persistence for now. Makes chrome really slow and adds problems with tab synchronization. --- src/main.js | 10 +++++----- 1 file 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' })