# react-oa-project **Repository Path**: yangxiaoming1924/react-oa-project ## Basic Information - **Project Name**: react-oa-project - **Description**: react后台练手项目 - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2023-05-10 - **Last Updated**: 2023-05-15 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # react-netease-cloud-music #### 介绍 本项目为仿 **网易云项目** #### 软件架构 软件架构说明 `React + react-router-dom + rtk` 技术栈 #### 安装教程 1. 克隆本项目 `git clone https://gitee.com/yangxiaoming1924/react-netease-cloud-music.git` 2. 安装所需依赖 `yarn install` 3. 启动本地dev环境`yarn dev` #### 使用说明 1. `yarn dev` 启动本地开发环境 2. `yarn build` 本地代码打包 3. 每个人新建分支,格式`feature/xxx` xxx为名字缩写,如`feature/yxm` 4. `master`为保护分支,任何人无法直接提交至主分支 #### 新建分支 1. 三种方式任选其一即可 1. `git checkout -b dev` //这里创建了一个新的分支 dev 2. `git switch -c hotfix` //这里用新版 switch 命令 -c代表创建 hotfix 分支 3. `git branch -c fix` //这里新建了一个 fix 分支 2. 切换到自己新建的分支`git switch feature/yxm` 3. 将该分支推送至远程分支`git push origin feature/yxm` 4. 查看远程`gitee`上是否有自己刚推送的分支,确认成功与否 #### 提交流程 **注意:确保全程都在自己分支下开发/提交!!!** 1. `git pull origin master` 拉取最新代码. 2. 如有冲突,**切勿自己解决,找到冲突代码的双方,进行沟通去留代码或全部保留**. 3. 如无冲突或解决冲突之后,`git add . ` `git commit -m 'commit信息'` `git push origin feature/xxx`. 4. 提交`PR`,通知组长/副组长审批. 5. 重复以上流程,直至开发结束为止. #### 参与贡献 #### 特技 1. 使用 Readme\_XXX.md 来支持不同的语言,例如 Readme\_en.md, Readme\_zh.md 2. Gitee 官方博客 [blog.gitee.com](https://blog.gitee.com) 3. 你可以 [https://gitee.com/explore](https://gitee.com/explore) 这个地址来了解 Gitee 上的优秀开源项目 4. [GVP](https://gitee.com/gvp) 全称是 Gitee 最有价值开源项目,是综合评定出的优秀开源项目 5. Gitee 官方提供的使用手册 [https://gitee.com/help](https://gitee.com/help) 6. Gitee 封面人物是一档用来展示 Gitee 会员风采的栏目 [https://gitee.com/gitee-stars/](https://gitee.com/gitee-stars/)