liufumingren 6e52f82cde chore: 入库手机网页(mobile-web)与局域网扫描脚本(tools)
- mobile-web/:独立的 Vue3 + TS + WeUI 手机网页(开发端口 7303、预览 7304,
  /api 反代到后端 7300);node_modules/、dist/ 由根 .gitignore 统一覆盖
- tools/scan-web-viewer.ps1:扫局域网 80 端口并按网页标题匹配设备的排查脚本

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-11-01 03:43:43 +08:00
..

PackService 手机网页

独立的 Vue 3 + TypeScript + WeUI 手机网页,开发端口默认为 7303,预览端口为 7304。

npm install
npm run dev

开发服务器会将 /api 请求代理到 http://127.0.0.1:7300。可通过 VITE_BACKEND 更改后端地址,通过 VITE_MOBILE_PORT 更改开发端口。

执行 npm run build 生成 dist/。路由使用 HTML5 History 模式,生产部署时需将 /login、/home、/profile 等前端路径回退到 index.html,并将 /api 请求转发至后端。