? Persist and rehydrate your Vuex state between page reloads.
storage.getItem
function: #299Huge thanks to @yachaka, @FreekVR, @peschee, @adm1t, and @retailify for helping!
To use the plugin with Vuex 4.0, you can initialize the plugin like the following;
import { createStore } from "vuex";
import createPersistedState from "vuex-persistedstate";
const store = createStore({
// ...
plugins: [createPersistedState()],
});
storage.getItem
function: #299Huge thanks to @yachaka, @FreekVR, @peschee, and @adm1t for helping!
Huge thanks to @gangsthub, @hughns, and @scottp-dpaw for helping!