Добавлено использование модуля vuex-persistedstate

This commit is contained in:
Book Pauk
2019-01-01 21:56:05 +07:00
parent 22dab347ea
commit 64d16677d3
3 changed files with 27 additions and 2 deletions

View File

@@ -1,5 +1,7 @@
import Vue from 'vue';
import Vuex from 'vuex';
import createPersistedState from 'vuex-persistedstate';
import uistate from './modules/uistate';
Vue.use(Vuex);
@@ -10,5 +12,6 @@ export default new Vuex.Store({
modules: {
uistate
},
strict: debug
strict: debug,
plugins: [createPersistedState()]
});