完成项目整体结构搭建,包含: 1. 前端Vue3+TS+Vite+Antd项目基础配置与核心依赖 2. 后端MidwayJS+TypeORM+JWT权限认证框架 3. 完整的用户、角色、权限、日志数据库表结构 4. 核心业务模块API与基础服务实现 5. 全局样式、路由、状态管理配置
55 lines
1.2 KiB
JSON
55 lines
1.2 KiB
JSON
{
|
|
"version": "0.2.0",
|
|
"configurations": [
|
|
{
|
|
"type": "node-terminal",
|
|
"name": "Server: Start",
|
|
"request": "launch",
|
|
"command": "yarn dev",
|
|
"cwd": "${workspaceFolder}/server",
|
|
"env": {
|
|
"NODE_ENV": "development"
|
|
},
|
|
"console": "integratedTerminal",
|
|
"internalConsoleOptions": "neverOpen",
|
|
"skipFiles": ["<node_internals>/**"]
|
|
},
|
|
{
|
|
"type": "node-terminal",
|
|
"name": "Client: Start",
|
|
"request": "launch",
|
|
"command": "yarn dev",
|
|
"cwd": "${workspaceFolder}/client",
|
|
"env": {
|
|
"NODE_ENV": "development"
|
|
},
|
|
"console": "integratedTerminal",
|
|
"internalConsoleOptions": "neverOpen",
|
|
"skipFiles": ["<node_internals>/**"]
|
|
},
|
|
{
|
|
"type": "chrome",
|
|
"request": "launch",
|
|
"name": "Client: Chrome",
|
|
"url": "http://localhost:3002",
|
|
"webRoot": "${workspaceFolder}/client/src",
|
|
"sourceMaps": true,
|
|
"sourceMapPathOverrides": {
|
|
"webpack:///./src/*": "${webRoot}/*"
|
|
}
|
|
}
|
|
],
|
|
"compounds": [
|
|
{
|
|
"name": "Full Stack: Server + Client",
|
|
"configurations": ["Server: Start", "Client: Start"],
|
|
"stopAll": true
|
|
},
|
|
{
|
|
"name": "Full Stack: Server + Client + Chrome",
|
|
"configurations": ["Server: Start", "Client: Start", "Client: Chrome"],
|
|
"stopAll": true
|
|
}
|
|
]
|
|
}
|