tangweijie 5099f2e87e Initial commit: Vue3 + TypeScript 前端项目
- Vue 3 + TypeScript + Element Plus 前端界面
- Pinia 状态管理
- Vue Router 4 路由管理
- Axios HTTP 客户端
- MSW (Mock Service Worker) 开发环境模拟
- 账户管理界面 (列表、详情、三科目余额展示)
- 交易管理界面 (列表、详情)
- 对账管理界面 (三账校验)
- 完善的 API 客户端封装
- Docker 容器化配置
- Nginx 配置用于生产环境
2026-01-05 17:57:11 +08:00

35 lines
848 B
JSON

{
"name": "rustjr-vue-frontend",
"version": "1.0.0",
"description": "账户管理系统Vue前端",
"type": "module",
"scripts": {
"dev": "vite",
"dev:mock": "VITE_USE_MOCK=true vite",
"build": "vue-tsc && vite build",
"preview": "vite preview",
"lint": "eslint . --ext .vue,.js,.jsx,.cjs,.mjs,.ts,.tsx,.cts,.mts --fix --ignore-path .gitignore"
},
"dependencies": {
"vue": "^3.4.21",
"vue-router": "^4.3.0",
"pinia": "^2.1.7",
"element-plus": "^2.6.1",
"@element-plus/icons-vue": "^2.3.1",
"axios": "^1.6.7",
"dayjs": "^1.11.10"
},
"devDependencies": {
"@vitejs/plugin-vue": "^5.0.4",
"typescript": "^5.3.3",
"vite": "^5.1.4",
"vue-tsc": "^2.0.6",
"msw": "^2.2.1",
"@types/node": "^20.11.19"
},
"msw": {
"workerDirectory": [
"public"
]
}
}