New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

store-along

Package Overview
Dependencies
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

store-along

适用于h5,uniappvue3版本,微信小程序的vuex缓存

latest
npmnpm
Version
1.0.7
Version published
Maintainers
1
Created
Source

🚧 黄艺辉

🚧 安装

  • 复制代码(桌面 cmd 运行) npm install store-along

🚧 使用

import storeAlong from 'store-along'

export default createStore({

plugins: [

	//使用方法1:不传表示全部缓存

	 storeAlong()

	//使用方法2:数组写入需要缓存的模块key 

	 storeAlong({

		 cacheKeys:['user']
		 
	 })
]

})

FAQs

Package last updated on 14 Jun 2023

Did you know?

Socket

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.

Install

Related posts