vuejs-storage:Vue和Vuex插件通过localStoragesessionStorage持久化数据

时间:2021-05-22 03:16:34
【文件属性】:
文件名称:vuejs-storage:Vue和Vuex插件通过localStoragesessionStorage持久化数据
文件大小:107KB
文件格式:ZIP
更新时间:2021-05-22 03:16:34
plugin vue storage persistence vuex VueJS存储 Vue.js和Vuex插件通过localStorage / sessionStorage持久化数据 目的 这个插件提供了与localStorage和sessionStorage (或类似的东西)到Vue和Vuex的简单绑定。 它,因此它确实很小。 .js大小:5.75KB(压缩后的1.7KB) .min.js大小:2.21KB(压缩后的1.1KB) 用法 //in webpack environment: import vuejsStorage from 'vuejs-storage' //in browser script tag: const vuejsStorage = window . vuejsStorage Vue . use ( vuejsStorage ) //vue example new Vue ( { //... data : {
【文件预览】:
vuejs-storage-master
----package.json(1KB)
----.github()
--------workflows()
----test()
--------objpath.ts(824B)
--------vuexplugin.ts(3KB)
--------install.ts(3KB)
--------drivers.ts(514B)
--------merge.ts(1KB)
--------index.ts(444B)
----.prettierrc(75B)
----example.html(2KB)
----LICENSE(1KB)
----src()
--------objpath.ts(676B)
--------vuexplugin.ts(764B)
--------install.ts(1KB)
--------interfaces.ts(566B)
--------drivers.ts(553B)
--------merge.ts(433B)
--------index.ts(534B)
----.npmignore(6B)
----tsconfig.json(175B)
----run-test.js(328B)
----.gitignore(890B)
----karma.conf.js(1KB)
----types()
--------vuejs-storage.d.ts(265B)
----bili.config.js(259B)
----README.md(3KB)
----yarn.lock(239KB)
----.eslintignore(5B)
----.editorconfig(185B)
----.gitattributes(36B)

网友评论