mirror of
https://github.com/xiaozhou233/RiverWaterQualityMonitoring.git
synced 2026-12-05 13:05:53 +08:00
Bumps the npm_and_yarn group with 1 update in the /water-admin directory: [postcss](https://github.com/postcss/postcss). Updates `postcss` from 8.5.16 to 8.5.26 - [Release notes](https://github.com/postcss/postcss/releases) - [Changelog](https://github.com/postcss/postcss/blob/main/CHANGELOG.md) - [Commits](https://github.com/postcss/postcss/compare/8.5.16...8.5.26) --- updated-dependencies: - dependency-name: postcss dependency-version: 8.5.26 dependency-type: direct:development dependency-group: npm_and_yarn ... Signed-off-by: dependabot[bot] <support@github.com>
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
该命令会启动一个本地服务器,用于预览构建后的项目效果。