mirror of
https://github.com/zhigang1992/react-native.git
synced 2026-02-02 09:08:58 +08:00
index.ios.js has to be created inside ReactComponent
This commit is contained in:
@@ -45,7 +45,7 @@ First, create a directory for your app’s React code and create a simple `index
|
||||
|
||||
```
|
||||
$ mkdir ReactComponent
|
||||
$ touch index.ios.js
|
||||
$ touch ReactComponent/index.ios.js
|
||||
```
|
||||
|
||||
Copy & paste following starter code for `index.ios.js` – it’s a barebones React Native app:
|
||||
|
||||
Reference in New Issue
Block a user