Commit e56efebce527df3d5710a0e7d3edd541e0c1882f
1 parent
338f661d
调整文件编码
Showing
1 changed file
with
10 additions
and
10 deletions
ruoyi-ui/README.md
| 1 | -## 开发 | 1 | +## 寮鍙 |
| 2 | 2 | ||
| 3 | ```bash | 3 | ```bash |
| 4 | -# 克隆项目 | 4 | +# 鍏嬮殕椤圭洰 |
| 5 | git clone https://gitee.com/y_project/RuoYi-Vue | 5 | git clone https://gitee.com/y_project/RuoYi-Vue |
| 6 | 6 | ||
| 7 | -# 进入项目目录 | 7 | +# 杩涘叆椤圭洰鐩綍 |
| 8 | cd ruoyi-ui | 8 | cd ruoyi-ui |
| 9 | 9 | ||
| 10 | -# 安装依赖 | 10 | +# 瀹夎渚濊禆 |
| 11 | npm install | 11 | npm install |
| 12 | 12 | ||
| 13 | -# 建议不要直接使用 cnpm 安装依赖,会有各种诡异的 bug。可以通过如下操作解决 npm 下载速度慢的问题 | 13 | +# 寤鸿涓嶈鐩存帴浣跨敤 cnpm 瀹夎渚濊禆锛屼細鏈夊悇绉嶈寮傜殑 bug銆傚彲浠ラ氳繃濡備笅鎿嶄綔瑙e喅 npm 涓嬭浇閫熷害鎱㈢殑闂 |
| 14 | npm install --registry=https://registry.npm.taobao.org | 14 | npm install --registry=https://registry.npm.taobao.org |
| 15 | 15 | ||
| 16 | -# 启动服务 | 16 | +# 鍚姩鏈嶅姟 |
| 17 | npm run dev | 17 | npm run dev |
| 18 | ``` | 18 | ``` |
| 19 | 19 | ||
| 20 | -浏览器访问 http://localhost:80 | 20 | +娴忚鍣ㄨ闂 http://localhost:80 |
| 21 | 21 | ||
| 22 | -## 发布 | 22 | +## 鍙戝竷 |
| 23 | 23 | ||
| 24 | ```bash | 24 | ```bash |
| 25 | -# 构建测试环境 | 25 | +# 鏋勫缓娴嬭瘯鐜 |
| 26 | npm run build:stage | 26 | npm run build:stage |
| 27 | 27 | ||
| 28 | -# 构建生产环境 | 28 | +# 鏋勫缓鐢熶骇鐜 |
| 29 | npm run build:prod | 29 | npm run build:prod |
| 30 | ``` | 30 | ``` |
| 31 | \ No newline at end of file | 31 | \ No newline at end of file |