支持 app.ini 配置与系统服务安装,并优化前端布局与无障碍体验。

引入类 Gitea 的 app.ini、Windows Service/systemd 控制;前端增加侧栏抽屉、回到顶部、标签输入与浮层 a11y。

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
2026-07-29 14:09:58 +08:00
parent 962bb15298
commit 9487c8ab02
37 changed files with 2025 additions and 403 deletions

View File

@@ -51,14 +51,14 @@ tidy:
## 本地运行(仅后端,使用已 embed 的前端)
run:
$(GO) run $(MAIN_PKG) --port 3000 --data ./data
$(GO) run $(MAIN_PKG)
## 前端热更新开发(后端 :3000 + Vite :5173Ctrl+C 同时退出)
dev:
@echo "前端热更新: http://localhost:5173"
@echo "后端 API : http://localhost:3000"
@trap 'kill 0' INT; \
$(GO) run $(MAIN_PKG) --port 3000 --data ./data & \
$(GO) run $(MAIN_PKG) & \
cd frontend && (test -d node_modules || npm install) && npm run dev
## 清理编译产物