mirror of
https://github.com/facebook/react-native.git
synced 2024-11-21 22:10:14 +00:00
Update README.md
This commit is contained in:
parent
8a56eab5fb
commit
f2f7da6ccd
13
README.md
13
README.md
@ -48,8 +48,21 @@ The React Native documentation only discusses the components, APIs and topics sp
|
||||
- `git clone https://github.com/facebook/react-native.git`
|
||||
- `cd react-native && npm install`
|
||||
|
||||
### Running the examples on iOS
|
||||
|
||||
Now open any example (the `.xcodeproj` file in each of the `Examples` subdirectories) and hit Run in Xcode.
|
||||
|
||||
### Running the examples on Android
|
||||
|
||||
Note that you'll need the Android NDK installed, see [prerequisites](https://github.com/facebook/react-native/blob/master/ReactAndroid/README.md#prerequisites).
|
||||
|
||||
```bash
|
||||
./gradlew :Examples:Movies:android:app:installDebug
|
||||
# Start the packager in a separate shell (make sure you ran npm install):
|
||||
./packager/packager.sh
|
||||
# Open the Movies app in your emulator
|
||||
```
|
||||
|
||||
## Extending React Native
|
||||
|
||||
- Looking for a component? [react.parts](http://react.parts/)
|
||||
|
Loading…
Reference in New Issue
Block a user