This repository was archived by the owner on Aug 7, 2021. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +6
-6
lines changed
demo/AngularApp/app/ninjas Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change
1
+ import { NativeScriptCommonModule } from "nativescript-angular/common" ;
1
2
import { NgModule , NO_ERRORS_SCHEMA } from "@angular/core" ;
2
- import { NativeScriptModule } from "nativescript-angular/nativescript.module" ;
3
3
import { NativeScriptRouterModule } from "nativescript-angular/router" ;
4
4
5
5
import { NinjaComponent } from "./ninja.component" ;
@@ -8,9 +8,9 @@ import { routes } from "./ninja.routes";
8
8
@NgModule ( {
9
9
schemas : [ NO_ERRORS_SCHEMA ] ,
10
10
imports : [
11
- NativeScriptModule ,
12
11
NativeScriptRouterModule ,
13
- NativeScriptRouterModule . forChild ( routes )
12
+ NativeScriptRouterModule . forChild ( routes ) ,
13
+ NativeScriptCommonModule ,
14
14
] ,
15
15
declarations : [ NinjaComponent ]
16
16
} )
Original file line number Diff line number Diff line change
1
+ import { NativeScriptCommonModule } from "nativescript-angular/common" ;
1
2
import { NgModule , NO_ERRORS_SCHEMA } from "@angular/core" ;
2
- import { NativeScriptModule } from "nativescript-angular/nativescript.module" ;
3
3
import { NativeScriptRouterModule } from "nativescript-angular/router" ;
4
4
5
5
import { NinjasComponent } from "./ninjas.component" ;
@@ -8,9 +8,9 @@ import { routes } from "./ninjas.routes";
8
8
@NgModule ( {
9
9
schemas : [ NO_ERRORS_SCHEMA ] ,
10
10
imports : [
11
- NativeScriptModule ,
12
11
NativeScriptRouterModule ,
13
- NativeScriptRouterModule . forChild ( routes )
12
+ NativeScriptRouterModule . forChild ( routes ) ,
13
+ NativeScriptCommonModule ,
14
14
] ,
15
15
declarations : [ NinjasComponent ]
16
16
} )
You can’t perform that action at this time.
0 commit comments