# README 勘误记录 本文件记录 mainPage README 中发现并修正的错误,便于追溯。 ## 2026-07-27:构建输出路径描述错误 **原描述(错误)**: - 项目结构注释:`vite.config.js # 构建输出到 /root/html(emptyOutDir=false,不清空既有文件)` - 如何使用:`# 3. 构建(产物输出到 /root/html,不清空既有文件)` - 开发命令:`npm run build # 构建到 /root/html` **实际行为**(见 `vite.config.js`): - `npm run build` 输出到项目本地 `dist/`(`emptyOutDir: true`,每次清空)。 - `npm run deploy` 才用 rsync 把 `dist/` 同步到 Apache 站点根 `/root/html`(脚本:`vite build && rsync ... dist/... /root/html/...`)。 **修正**:三处均改为说明构建输出到 `dist/`,由 `npm run deploy` rsync 到 `/root/html`,并在「开发命令」补 `npm run deploy` 一行。 > 背景:本次升级 timeTableFix 子模块(新增时区选择)时,按 README 从 0 构建复现发现该不一致。