<h1 align="center"><strong>和谐框架</strong></h1>
<div align="center" style="max-width:350px !important;">
<a href="https://harmony-framework.github.io/harmony-boilerplate/" target="_blank">
<img width="350px" src="https://yellow-cdn.veclightyear.com/835a84d5/275bc566-c207-47a3-bac6-6bab71c81bd6.png" alt="react 样板横幅" align="center" />
</a>
</div>
<br/>
<div align="center"><strong>几秒内启动你的下一个 React Native 项目</strong></div>
<br />
<div align="center">和谐样板为你提供最佳的开发体验,包含生产环境所需的所有功能:React Native 导航、TypeScript、sagas、流程管理等。</div>
<br />
<div align="center">
<a href="https://harmony-framework.github.io/harmony-boilerplate/" target="_blank">
文档
</a>
</div>
<br/>
和谐样板 - React Native
安装
- 克隆仓库
- 如果文件夹中没有 ios 和 android 文件夹,请转到故障排除部分,按照新文件夹的步骤在单独的文件夹中生成 ios 和 android
- 复制 ios 和 android 文件夹
- 进入 ios 文件夹并运行
pod install
故障排除
- 确保你的
app.json 中定义了应用名称,并在步骤 2 中使用它。
{
"name": "HRM",
"displayName": "HRM"
}
- 如果你想生成新的 iOS 和 Android 文件夹,请执行以下操作
npx react-native init 你的项目名称
mv 你的项目名称/ios ios
rm -rf 你的项目名称