Skip to content

Latest commit

 

History

History
25 lines (21 loc) · 776 Bytes

File metadata and controls

25 lines (21 loc) · 776 Bytes

🤝 贡献指南

感谢你对 PawPaths 感兴趣!我们欢迎任何形式的贡献。

🧪 开发建议

  • 代码风格: 请保持 React 函数组件和 Tailwind CSS 的使用风格。
  • AI 提示词: 修改 services/geminiService.ts 时请确保输出 JSON 格式的稳定性。

🐱 添加新宠物

  1. 打开 types.tsPetType 枚举中添加新成员。
  2. config_pets_exotic.js 中添加配置:
    NEW_PET: {
      id: 'NEW_PET',
      label: '名字',
      description: '描述...',
      personality: ['性格1', '性格2'],
      iconName: 'Lucide图标名',
      // ... 其他配置
    }
  3. petData.tsxICON_MAP 中映射图标。

🛠️ 提交 Bug

请在 Issue 中详细描述复现步骤。