Add intro explaining embedding React in existing app
This commit is contained in:
parent
b82de1e0d4
commit
cfba63edd4
|
@ -7,7 +7,14 @@ permalink: docs/embeded-app.html
|
|||
next: activityindicatorios
|
||||
---
|
||||
|
||||
## Install React Native Using CocoaPods
|
||||
Since React makes no assumptions about the rest of your technology stack – it’s commonly noted as simply the `V` in `MVC` – it’s easily embeddable within an existing non-React Native app. In fact, it integrates with other best practice community tools like [Cocoapods](http://cocoapods.org/).
|
||||
|
||||
## Requirements
|
||||
|
||||
- [Cocoapods](http://cocoapods.org/) – `gem install cocoapods`
|
||||
- [Node.js](http://nodejs.org) – `brew install node`
|
||||
|
||||
## Install React Native Using Cocoapods
|
||||
|
||||
[CocoaPods](http://cocoapods.org/) is a package management tool for iOS/Mac development. We need to use it to download React Native. If you haven't install CocoaPods yet, checkout [this tutorial](http://guides.cocoapods.org/using/getting-started.html).
|
||||
|
||||
|
@ -27,8 +34,6 @@ Then install pods via shell
|
|||
$ pod install --verbose
|
||||
```
|
||||
|
||||
The installation process also requires [Node.js](http://nodejs.org).
|
||||
|
||||
## Create Your React Native App
|
||||
|
||||
First, enter React Native's pod root directory and create **index.ios.js** inside a directory `ReactComponent`.
|
||||
|
|
Loading…
Reference in New Issue