Update web build and web-specific components; RNW now builds
This commit is contained in:
@@ -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'),
|
||||
})
|
||||
Reference in New Issue
Block a user