This repository has been archived by the owner on Feb 4, 2022. It is now read-only.
v4.0.0-beta.1
Pre-release
Pre-release
Support For Vuex 4.0 🎉
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()],
});
Major Changes
- Drop support for Vuex 2.0: 9c8c9d0
Minor Changes
- Moved
storage.getItem
function: #299 - Update nuxt instructions in README.md: #331
- Add support for Vue 3.0 and Vuex 4.0: 3f57f21
Patches
Credits
Huge thanks to @yachaka, @FreekVR, @peschee, and @adm1t for helping!