1.0.5 • Published 4 years ago

vuex-persist-plugin v1.0.5

Weekly downloads
4
License
MIT
Repository
github
Last release
4 years ago

vuex-persist-plugin

Version Downloads License

Persist and restore the Vuex state between browser reloads.

Usage

import Vue from 'vue'
import Vuex from 'vuex'
import vuexPersistPlugin from 'vuex-persist-plugin'

Vue.use(Vuex)

const store = new Vuex.Store({
  modules: {},
  strict: true,
  plugins: [
    vuexPersistPlugin({
      modules: [
        'auth'
      ]
    })
  ]
})

new Vue({ store })

License

MIT

1.0.5

4 years ago

1.0.4

4 years ago

1.0.3

5 years ago

1.0.2

6 years ago

1.0.1

6 years ago

1.0.0

6 years ago