使用Pinia代替Vuex进行数据存储

This commit is contained in:
不做码农
2022-06-11 10:33:49 +08:00
parent ef604d008d
commit 859f8acfe2
41 changed files with 700 additions and 797 deletions
+1 -3
View File
@@ -5,9 +5,7 @@ export default function createAutoImport() {
imports: [
'vue',
'vue-router',
{
'vuex': ['useStore']
}
'pinia'
],
dts: "src/auto-import.d.ts" // 生成 `auto-import.d.ts` 全局声明
})