2023-07-05 11:40:25 +08:00
|
|
|
## 开发
|
|
|
|
|
|
|
|
```bash
|
|
|
|
# 克隆项目
|
2023-09-05 16:18:41 +08:00
|
|
|
git clone https://gitee.com/dataprince/ruoyi-flex
|
2023-07-05 11:40:25 +08:00
|
|
|
|
|
|
|
# 进入项目目录
|
|
|
|
cd ruoyi-ui
|
|
|
|
|
|
|
|
# 安装依赖
|
|
|
|
npm install --registry=https://registry.npmmirror.com
|
|
|
|
|
|
|
|
# 启动服务
|
|
|
|
npm run dev
|
|
|
|
|
2023-09-05 16:18:41 +08:00
|
|
|
前端浏览器访问 http://localhost:80
|
2023-07-05 11:40:25 +08:00
|
|
|
|
|
|
|
## 发布
|
|
|
|
|
|
|
|
```bash
|
|
|
|
# 构建测试环境
|
|
|
|
npm run build:stage
|
|
|
|
|
|
|
|
# 构建生产环境
|
|
|
|
npm run build:prod
|
|
|
|
```
|