Get Web compiling for expo
This commit is contained in:
+2
-12
@@ -1,14 +1,4 @@
|
||||
// index.web.js
|
||||
|
||||
import 'platform/polyfills'
|
||||
import {AppRegistry} from 'react-native'
|
||||
import {registerRootComponent} from 'expo'
|
||||
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'),
|
||||
})
|
||||
registerRootComponent(App)
|
||||
|
||||
Reference in New Issue
Block a user