1.1.0 • Published 6 years ago
ns-vuex-persistent v1.1.0
Install
npm install --save ns-vuex-persistent
Use
import NSVuexPersistent from 'ns-vuex-persistent';
const store = new Vuex.Store({
state: {
// Your state.
},
mutations,
actions,
getters,
strict: debug,
plugins: [NSVuexPersistent([
// Here you will define the states that you want to be persistent.
])]
});