template_0205
This commit is contained in:
10
RN_TEMPLATE/index.tsx
Normal file
10
RN_TEMPLATE/index.tsx
Normal file
@@ -0,0 +1,10 @@
|
||||
import "@expo/metro-runtime" // this is for fast refresh on web w/o expo-router
|
||||
import "./global.css"
|
||||
import { registerRootComponent } from "expo"
|
||||
|
||||
import { App } from "@/app"
|
||||
|
||||
// registerRootComponent calls AppRegistry.registerComponent('main', () => App);
|
||||
// It also ensures that whether you load the app in Expo Go or in a native build,
|
||||
// the environment is set up appropriately
|
||||
registerRootComponent(App)
|
||||
Reference in New Issue
Block a user