mirror of
https://github.com/zhigang1992/react-native.git
synced 2026-04-29 04:35:36 +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
|
$ 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:
|
Copy & paste following starter code for `index.ios.js` – it’s a barebones React Native app:
|
||||||
|
|||||||
Reference in New Issue
Block a user