-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.js
More file actions
32 lines (27 loc) · 820 Bytes
/
index.js
File metadata and controls
32 lines (27 loc) · 820 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
import 'core-js/proposals/reflect-metadata';
import registerRootComponent from 'expo/src/launch/registerRootComponent';
import { Container } from 'inversify';
import '@/uilib';
import { AIModule } from '@/ai';
import { ChatModule } from '@/chat';
import { I18nModule } from '@/i18n';
import { LogModule } from '@/log';
import { ModalModule } from '@/modal';
import { ProcessInfoModule } from '@/process-info';
import { RouterModule } from '@/router';
import { SplashScreenModule } from '@/splash';
import { App } from './src/app';
export const container = new Container();
container.load(
AIModule,
ChatModule,
LogModule,
I18nModule,
RouterModule,
ProcessInfoModule,
ModalModule,
SplashScreenModule,
);
registerRootComponent(() => {
return <App get={serviceId => container.get(serviceId)} />;
});