Skip to content
A small library to make vuex persistent in nativescript-vue projects.
JavaScript
Branch: master
Clone or download
Latest commit c345754 Dec 6, 2018
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
LICENSE Initial commit Dec 6, 2018
README.md Added badge. Dec 6, 2018
index.js New name and missing import. Dec 6, 2018
package.json Some changes. Dec 6, 2018

README.md

npm version

GitHub license

Install

npm install --save nativescript-vuex-persistent

Use

import NSVuexPersistent from 'nativescript-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.
  ])]
});
You can’t perform that action at this time.