1.0.5 • Published 3 years ago

vuex-persist-plugin v1.0.5

Weekly downloads
4
License
MIT
Repository
github
Last release
3 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

3 years ago

1.0.4

3 years ago

1.0.3

3 years ago

1.0.2

5 years ago

1.0.1

5 years ago

1.0.0

5 years ago