Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

persistant-vuex

jellyhom2MIT1.0.0

A plugin that makes persistant state of vuex

readme

persistant-vuex

persistant Vuex state

Install

npm install --save persistant-vuex

Usage

import createPersistantState from 'persistant-vuex'

const myPlugin = createPersistantState({
  storage: localStorage, // default
  key: 'vuex' // default
})
const store = new Vuex.store({
  // ...
  plugins: [myPlugin]
})