如何将 React Native 集成到现有的 iOS 项目中 [英] How to integrate React Native to existing iOS project
问题描述
很高兴在 F8 2015 上看到 Facebook 开源 React Native.虽然他们提供了 react-native-cli
来生成一个空的 React Native 项目,但我仍然不知道如何集成 React Native到我当前使用 Xcode 工作区和 CocoaPods 的项目.
Very excited to see Facebook open source React Native on F8 2015. Although they provide react-native-cli
to generate an empty React Native project, I still don't know how to integrate React Native to my current project which uses Xcode workspace and CocoaPods.
推荐答案
有关如何在现有项目中开始使用 React Native 的完整分步指南如下:https://facebook.github.io/react-native/docs/integration-with-existing-apps.html
A full step by step guide on how to get started with React Native in an existing project is here: https://facebook.github.io/react-native/docs/integration-with-existing-apps.html
这篇关于如何将 React Native 集成到现有的 iOS 项目中的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!