-
-
Notifications
You must be signed in to change notification settings - Fork 295
/
app.module.ts
29 lines (27 loc) · 924 Bytes
/
app.module.ts
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
// >> ngmodule-config
// this import should be first in order to load some required settings (like globals and reflect-metadata)
import { NativeScriptModule } from "@nativescript/angular";
import { NgModule, NO_ERRORS_SCHEMA } from "@angular/core";
import { NativeScriptRouterModule } from "@nativescript/angular";
import { NativeScriptFormsModule } from "@nativescript/angular";
import { routes } from "./app.routes";
import { AppComponent } from "./app.component";
import { ModalDialogService } from "@nativescript/angular";
@NgModule({
schemas: [NO_ERRORS_SCHEMA],
declarations: [
AppComponent,
],
bootstrap: [AppComponent],
imports: [
NativeScriptModule,
NativeScriptFormsModule,
NativeScriptRouterModule,
NativeScriptRouterModule.forRoot(routes),
],
providers: [
ModalDialogService,
]
})
export class AppModule { }
// << ngmodule-config