mirror of
https://github.com/xiaozhou233/RiverWaterQualityMonitoring.git
synced 2026-12-05 13:05:53 +08:00
Bumps the npm_and_yarn group with 2 updates in the /water-admin directory: [axios](https://github.com/axios/axios) and [brace-expansion](https://github.com/juliangruber/brace-expansion). Updates `axios` from 1.18.1 to 1.20.0 - [Release notes](https://github.com/axios/axios/releases) - [Changelog](https://github.com/axios/axios/blob/v1.x/CHANGELOG.md) - [Commits](https://github.com/axios/axios/compare/v1.18.1...v1.20.0) Updates `brace-expansion` from 5.0.7 to 5.0.12 - [Release notes](https://github.com/juliangruber/brace-expansion/releases) - [Commits](https://github.com/juliangruber/brace-expansion/compare/v5.0.7...v5.0.12) --- updated-dependencies: - dependency-name: axios dependency-version: 1.20.0 dependency-type: direct:production dependency-group: npm_and_yarn - dependency-name: brace-expansion dependency-version: 5.0.12 dependency-type: indirect 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
该命令会启动一个本地服务器,用于预览构建后的项目效果。