fix: speed up wails dev gui startup

This commit is contained in:
QiuSW
2026-07-08 22:17:42 +08:00
parent 462ff5ac4c
commit 4c1de99d65
7 changed files with 47 additions and 2 deletions
+8
View File
@@ -76,6 +76,13 @@ cd frontend
npm run build
```
前端类型检查:
```powershell
cd frontend
npm run typecheck
```
后端编译:
```powershell
@@ -108,6 +115,7 @@ Windows 快捷脚本:
```
`dev.bat` 会先切到项目根目录,把 Go bin 加入当前进程 PATH,再从 `9245` 开始选择空闲端口运行 `wails3 dev`。
开发启动链路使用 `npm run build:dev` 做快速前端 dev 构建,避免 `vue-tsc` 阻塞 GUI 打开;完整类型检查仍由 `npm run build` 或 `npm run typecheck` 执行。
Windows build 资源: