# Contributing 我们提倡您通过提 issue 和 pull request 方式来促进 we-cropper 的发展。 ```bash # step 01 git clone https://github.com/we-plugin/we-cropper.git # step 02 npm install #step 03 npm run dev ``` 欢迎任意形式的贡献 ## Issue 提交 #### 对于贡献者 在提 issue 前请确保满足一下条件: - 必须是一个 bug 或者功能新增。 - 必须是 we-cropper 相关问题。 - 已经在 issue 中搜索过,并且没有找到相似的 issue 或者解决方案。 如果已经满足以上条件,我们提供了 issue 的标准模版,请按照模板填写。 ​ ## Pull request 我们除了希望听到您的反馈和建议外,我们也希望您接受代码形式的直接帮助,对我们的 GitHub 发出 pull request 请求。 以下是具体步骤: #### Fork仓库 点击 `Fork` 按钮,将需要参与的项目仓库 fork 到自己的 Github 中。 #### Clone 已 fork 项目 在自己的 github 中,找到 fork 下来的项目,git clone 到本地。 ```bash $ git clone git@github.com:/we-cropper.git ``` #### 添加 we-cropper 仓库 将 fork 源仓库连接到本地仓库: ```bash $ git remote add # 例如: $ git remote add we-copper https://github.com/we-plugin/we-cropper.git ``` #### 保持与 we-cropper 仓库的同步 更新上游仓库: ```bash $ git pull --rebase # 等同于以下两条命令 $ git fetch $ git rebase / ``` #### commit 信息提交 commit 信息请遵循[commit消息约定](./CONTRIBUTING_COMMIT.md),以便可以自动生成 `CHANGELOG` 。具体格式请参考 commit 文档规范。 #### Thanks @夏左左