This commit is contained in:
Baobhan Sith
2025-04-15 01:39:40 +08:00
parent a974b8b1d9
commit 0e863456a2
22 changed files with 2522 additions and 1722 deletions
+1 -1
View File
@@ -17,7 +17,7 @@
"paths": {
"@/*": ["src/*"] // 路径别名,例如 @/components/* 指向 src/components/*
},
"types": ["vite/client"] // **关键:包含 Vite 客户端类型定义**
"types": ["vite/client", "pinia-plugin-persistedstate"] // **关键:包含 Vite 客户端和 Pinia 持久化插件类型定义**
},
"include": ["src/**/*.ts", "src/**/*.d.ts", "src/**/*.tsx", "src/**/*.vue"], // 需要进行类型检查的文件
"exclude": ["node_modules"] // 排除检查的目录