Files
RiverWaterQualityMonitoring/water-admin
dependabot[bot] b3470687af Bump react-router
Bumps the npm_and_yarn group with 1 update in the /water-admin directory: [react-router](https://github.com/remix-run/react-router/tree/HEAD/packages/react-router).


Updates `react-router` from 7.18.1 to 7.18.2
- [Release notes](https://github.com/remix-run/react-router/releases)
- [Changelog](https://github.com/remix-run/react-router/blob/react-router@7.18.2/packages/react-router/CHANGELOG.md)
- [Commits](https://github.com/remix-run/react-router/commits/react-router@7.18.2/packages/react-router)

---
updated-dependencies:
- dependency-name: react-router
  dependency-version: 7.18.2
  dependency-type: indirect
  dependency-group: npm_and_yarn
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-08-11 03:17:05 +00:00
..
2026-08-08 09:13:49 +08:00
2026-08-09 15:01:38 +08:00
2026-08-11 03:17:05 +00:00
2026-08-11 03:17:05 +00:00

water-admin

基于 React + TypeScript + Vite 开发的水质监测后台管理系统。

环境要求

  • Node.js 24.15.0 或更高版本

快速开始

1. 安装依赖

npm install

2. 启动开发服务器

npm run dev

启动成功后将看到类似输出:

VITE v8.1.3 ready in 233 ms

➜  Local:   http://localhost:5173/
➜  Network: use --host to expose
➜  press h + enter to show help

打开浏览器访问:

http://localhost:5173/

项目构建

执行:

npm run build

构建完成后,生成的静态文件位于:

dist/

本地预览

执行:

npm run preview

该命令会启动一个本地服务器,用于预览构建后的项目效果。