-
-
Notifications
You must be signed in to change notification settings - Fork 241
/
Copy pathapp.module.ts
36 lines (31 loc) · 1.14 KB
/
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
30
31
32
33
34
35
import { NgModule, NO_ERRORS_SCHEMA } from "@angular/core";
import { NativeScriptModule, NativeScriptAnimationsModule } from "@nativescript/angular";
import {
AppRoutingModule,
} from "./app-routing.module";
import { FirstComponent } from "./first/first.component"
import { SecondComponent } from "./second/second.component"
import { MasterComponent } from "./second/master.component"
import { DetailComponent } from "./second/detail.component"
import { AppComponent } from "./app.component";
import { rendererTraceCategory, viewUtilCategory, routeReuseStrategyTraceCategory, routerTraceCategory } from "@nativescript/angular/trace";
import { setCategories, enable } from "@nativescript/core/trace";
setCategories(routerTraceCategory + "," + routeReuseStrategyTraceCategory);
enable();
@NgModule({
declarations: [
AppComponent,
FirstComponent,
SecondComponent,
MasterComponent,
DetailComponent,
],
bootstrap: [AppComponent],
imports: [
NativeScriptModule,
// NativeScriptAnimationsModule,
AppRoutingModule,
],
schemas: [NO_ERRORS_SCHEMA],
})
export class AppModule { }