Skip to content

vuex的本地化存储和跨窗口同步state插件,同时适用于electron环境

Notifications You must be signed in to change notification settings

hxkuc/vuex-persistence

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 

Repository files navigation

功能介绍

vuex的本地化存储和跨窗口同步state插件

安装步骤

安装插件执行如下

npm i -S vuex-persistence

vuex中使用

import myPlugin from 'vuex-persistence'
export default new Vuex.Store({
  plugins: [myPlugin()],
  strict: process.env.NODE_ENV !== 'production'
})

About

vuex的本地化存储和跨窗口同步state插件,同时适用于electron环境

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published