protective measure
确保代码兼容性的完整工作流:
- preliminary::
- 完整上传项目技术文档和 package.json
- 在设置栏明确框架版本(如 React 18)
- 增量验证::
- 先转换小型组件测试兼容性(如 Button 而非整页)
- 检查生成的依赖导入语句是否符合项目配置
- 补救方案::
- 对不匹配部分使用界面直接编辑功能
- 通过 Contact Us 提交技术栈特征请求
This answer comes from the articleAutonomyAI: Turning Figma Designs into Clean React CodeThe