Files
fe.ems.vue3/README.md
2023-10-10 14:49:29 +08:00

42 lines
1.1 KiB
Markdown

# 核心网管理系统
## 简介
- 系统布局使用 [@ant-design-vue/pro-layout](https://github.com/vueComponent/pro-components)
- 图标来源 [@ant-design/icons-vue](https://ant.design/components/icon)
- 菜单图标使用自定义iconfont `font_8d5l8fzk5b87iudi.js`图标文件
## 测试环境
```text
Jenkins: http://192.168.0.229:3185/
Nginx: http://192.168.0.229:3188/#/index
后端暴露端口: http://192.168.0.229:3186 \ http://192.168.0.229:3187
```
## 程序命令
项目目录下 `.env.[环境]` 文件对应环境的一些配置,启动前请检查文件内是否配置正确。
```bash
# 使用阿里源可以加速下载依赖库
npm install --registry https://registry.npmmirror.com
```
### 开发 development
```bash
# 检查配置参数 .env.development 和 vite.config.ts
npm install # 安装项目所需依赖
npm run dev # 开发模式启动项目
Local http://localhost:6269 # 启动成功后得到服务访问地址
```
### 部署 production
```bash
# 检查配置参数 .env.development
npm install # 安装项目所需依赖
npm run build # 构建生产项目代码
```