You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

29 lines
509 B

3 years ago
  1. ## 开发
  2. ```bash
  3. # 克隆项目
  4. git clone https://gitee.com/y_project/RuoYi-Vue
  5. # 进入项目目录
  6. cd ruoyi-ui
  7. # 安装依赖
  8. npm install
  9. # 建议不要直接使用 cnpm 安装依赖,会有各种诡异的 bug。可以通过如下操作解决 npm 下载速度慢的问题
  10. npm install --registry=https://registry.npm.taobao.org
  11. # 启动服务
  12. npm run dev
  13. ```
  14. 浏览器访问 http://localhost:80
  15. ## 发布
  16. ```bash
  17. # 构建测试环境
  18. npm run build:stage
  19. # 构建生产环境
  20. npm run build:prod
  21. ```