# web-app **Repository Path**: luyuanliang/web-app ## Basic Information - **Project Name**: web-app - **Description**: 基于vue+element的样例工程。VUE版本为3.X, element UI 选择element - plus。 - **Primary Language**: JavaScript - **License**: Apache-2.0 - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2025-03-05 - **Last Updated**: 2026-07-08 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # web-app 基于 Vue 3 + Element Plus 的前端项目。 ## 配置说明 项目使用 `.env` 环境变量文件管理配置,详见 [config-guide.md](config-guide.md)。 ### 核心配置项 | 配置项 | 说明 | |--------|------| | `VUE_APP_PUBLIC_PATH` | 前端部署根路径,默认 `/web-app/` | | `VUE_APP_SERVER_BASE` | API 请求前缀,默认 `/web-display-server` | | `VUE_APP_API_BASE` | 开发环境代理目标,默认 `http://113.142.217.41:44418` | ### 配置文件 - `.env.development` — 开发环境配置 - `.env.production` — 生产环境配置 ## 安装教程 ```bash npm install ``` ## 使用说明 ```bash # 开发模式(默认使用 .env.development) npm run serve # 生产打包(默认使用 .env.production,推荐) npm run build # 使用开发环境配置打包(用于测试环境) npm run build -- --mode development ``` ## 参与贡献 1. Fork 本仓库 2. 新建 Feat_xxx 分支 3. 提交代码 4. 新建 Pull Request