1.1.0 • Published 6 years ago

ns-vuex-persistent v1.1.0

Weekly downloads
2
License
MIT
Repository
github
Last release
6 years ago

GitHub license

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.
  ])]
});