Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update EmbeddedApp.md #549

Closed
wants to merge 12 commits into from
Prev Previous commit
Next Next commit
Update EmbeddedApp.md
L34~L39  <==> L126   should be same
  • Loading branch information
lvyile committed Apr 2, 2015
commit 07b8e29b98a2fbf1e6f1bcf67de48ef8546a0982
3 changes: 2 additions & 1 deletion docs/EmbeddedApp.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,10 +41,11 @@ There are two pieces you’ll need to set up:
1. The root JavaScript file that will contain your actual React Native app and other components
- Wrapper Objective-C code that will load up your script and create a `RCTRootView` to display and manage your React Native components

First, create a directory for your app’s React code and create a simple `index.ios.js` file:
First, create a directory `ReactComponent`, enter the directory and create `index.ios.js` inside .

```
$ mkdir ReactComponent
$ cd ReactComponent
$ touch index.ios.js
```

Expand Down