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.

README.md 837B

2 months ago
12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  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.npmmirror.com
  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. ```
  22. ## Git 提交规范类型
  23. ```
  24. feat: 新增功能
  25. fix: 修复缺陷
  26. docs: 文档变更
  27. style: 代码格式变更
  28. refactor: 代码重构
  29. perf: 性能优化
  30. test: 添加测试用例
  31. build: 对构建系统或者外部依赖进行了修改
  32. ci: 对CI配置文件和流程进行了修改
  33. chore: 其他类型
  34. revert: 撤销修改
  35. ```