diff options
| author | Roger Braun <roger@rogerbraun.net> | 2017-02-20 18:06:01 +0100 |
|---|---|---|
| committer | Roger Braun <roger@rogerbraun.net> | 2017-02-20 18:06:01 +0100 |
| commit | 9763009d8616765ce87f1dcf8d22e935c45a22c8 (patch) | |
| tree | 3496783f9d5c38edf1e78dec45814ea86a351094 /src/main.js | |
| parent | f40653a49d6cb0bde683a4f93dbb632592e141b6 (diff) | |
| parent | 8429de22e8a45b8cb35f7026c61ebd581b1ef159 (diff) | |
Merge branch 'feature/mutes' into develop
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 fd03e519..4b367db9 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'] +} 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' }) |
