Files
workspace/code/app/base-app/index.ts
T
2025-10-22 22:31:05 +08:00

9 lines
332 B
TypeScript

import { registerRootComponent } from 'expo'
import App from './App'
import '@/styles/global.css'
// 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)