Update web build and web-specific components; RNW now builds
This commit is contained in:
parent
7e3f6f0306
commit
d6ec627c8c
10 changed files with 300 additions and 157 deletions
13
index.web.js
Normal file
13
index.web.js
Normal file
|
@ -0,0 +1,13 @@
|
|||
// index.web.js
|
||||
|
||||
import {AppRegistry} from 'react-native'
|
||||
import App from './src/App'
|
||||
import {name as appName} from './src/app.json'
|
||||
|
||||
// register the app
|
||||
AppRegistry.registerComponent(appName, () => App)
|
||||
|
||||
AppRegistry.runApplication(appName, {
|
||||
initialProps: {},
|
||||
rootTag: document.getElementById('app-root'),
|
||||
})
|
Loading…
Add table
Add a link
Reference in a new issue