fix: speed up wails dev gui startup
This commit is contained in:
@@ -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 资源:
|
||||
|
||||
|
||||
Reference in New Issue
Block a user