添加配置文件和更新依赖项以支持 Expo 开发客户端

This commit is contained in:
2026-03-09 05:39:53 +07:00
parent b478f48397
commit 2f431dd650
6 changed files with 152 additions and 8 deletions

8
index.js Normal file
View File

@@ -0,0 +1,8 @@
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);