Update web build and web-specific components; RNW now builds

This commit is contained in:
Paul Frazee 2023-01-26 12:12:27 -06:00
parent 7e3f6f0306
commit d6ec627c8c
10 changed files with 300 additions and 157 deletions

13
index.web.js Normal file
View 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'),
})