
Product
Introducing Repository Access Permissions and Custom Roles
Socket now supports Custom Roles and Repository Access Permissions so organizations can control who can access specific repositories and actions.
vuex-uniapp-persistence
Advanced tools
npm i vuex-uniapp-persistence
store.js 引入
// 页面路径:store/index.js
import Vue from "vue";
import Vuex from "vuex";
import persistence from "./plugins/persistence";
Vue.use(Vuex);
const store = new Vuex.Store({
// 使用模块
plugins: [persistence()],
});
export default store;
key 是你设置 本地存储的 key 的名称,如果不传,默认就是 vuex-uniapp-persistence
将本地存储完全替换 state 修改为 合并本地存取和 state 融合到 vuex 中
FAQs
uniapp vue2 vuex 持久化
We found that vuex-uniapp-persistence demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Product
Socket now supports Custom Roles and Repository Access Permissions so organizations can control who can access specific repositories and actions.

Product
Socket MCP now lets AI assistants review org alerts, investigate threats using the Socket threat feed, and inspect package files in addition to dependency scoring.

Product
Socket Firewall blocks malicious VS Code and Open VSX extensions before install, protecting developers from compromised editor marketplaces.