robinvdvleuten / vuex-persistedstate

💾 Persist and rehydrate your Vuex state between page reloads.
https://npm.im/vuex-persistedstate
MIT License
5.77k stars 378 forks source link

"vue": "^2.6.11", "vuex": "^3.4.0", "vuex-persistedstate": "^3.1.0", Not working properly #313

Closed zhangwenwu closed 4 years ago

zhangwenwu commented 4 years ago

import createPersistedState from 'vuex-persistedstate'

Vue.use(Vuex)

const store = new Vuex.Store({ modules: { user }, getters, plugins: [ createPersistedState() ] })

robinvdvleuten commented 4 years ago

Do you have a codesandbox for this to reproduce?