npm.io
1.1.0 • Published 7 years ago

ns-vuex-persistent

Licence
MIT
Version
1.1.0
Deps
1
Size
3 kB
Vulns
0
Weekly
0
Stars
4
DeprecatedThis package is deprecated

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

Keywords