feat: 添加 msw 支持 API 模拟

This commit is contained in:
2026-05-26 14:55:21 +08:00
parent aab7206307
commit 9575e5898f
15 changed files with 844 additions and 16 deletions

View File

@@ -27,8 +27,14 @@
"eslint-plugin-react-hooks": "^7.1.1",
"eslint-plugin-react-refresh": "^0.5.2",
"globals": "^17.6.0",
"msw": "^2.14.6",
"typescript": "~6.0.2",
"typescript-eslint": "^8.59.2",
"vite": "^8.0.12"
},
"msw": {
"workerDirectory": [
"public"
]
}
}
}