Skip to content

Latest commit

 

History

History
64 lines (42 loc) · 1.26 KB

File metadata and controls

64 lines (42 loc) · 1.26 KB

贡献指南

感谢你考虑为 Pokemon Console Battle 做出贡献!

如何贡献

报告 Bug

如果你发现了 bug,请创建一个 Issue 并包含以下信息:

  • 详细的问题描述
  • 重现步骤
  • 期望的行为
  • 实际的行为
  • 你的环境信息(操作系统、Node.js 版本等)
  • 如果可能,提供截图或错误日志

建议新功能

如果你有新功能的想法:

  1. 先创建一个 Issue 讨论这个想法
  2. 说明为什么这个功能对项目有用
  3. 如果可能,提供实现思路

提交代码

  1. Fork 这个仓库
  2. 创建你的特性分支 (git checkout -b feature/AmazingFeature)
  3. 提交你的更改 (git commit -m '添加某个很棒的功能')
  4. 推送到分支 (git push origin feature/AmazingFeature)
  5. 开启一个 Pull Request

代码规范

  • 使用vscode插件Formatter Hero格式化

开发环境设置

# 克隆你的 fork
git clone https://github.com/relat-ivity/pokemon-text-battle.git
cd pokemon-text-battle

# 安装依赖
npm install

# 设置环境变量文件
copy .env.example .env

# 启动
npm start

需要帮助?

如果你在贡献过程中遇到问题,可以:

  • 在相关 Issue 中提问
  • 查看项目文档
  • 联系维护者

再次感谢你的贡献!