feat(storage): add new storage (#48)

* feat(storage): add new storage,新增 database 和 cookie 存储
* fix(storage): 区分用户,获取当前存储路径时,应该获取当前用户,用来区分用户
* fix: ts alias mapping
* chore: remove lodash
* fix(storage): replace lodash with lodash-es
* fix(storage): initialization,Initialization failed, unable to write
This commit is contained in:
hb0730
2021-09-29 09:07:54 +08:00
committed by GitHub
parent 6d814316c2
commit e661f60f13
9 changed files with 175 additions and 12 deletions

View File

@@ -21,6 +21,7 @@
"incremental": true,
"paths": {
"/@/*": ["src/*"],
"@build/*": ["build/*"],
"/#/*": ["types/*"]
},
"types": ["node", "vite/client"],