File tree 2 files changed +4
-4
lines changed
2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 1
1
import { NgModule , NO_ERRORS_SCHEMA } from "@angular/core" ;
2
2
import { Route } from "@angular/router" ;
3
3
4
- import { NativeScriptModule } from "nativescript-angular/nativescript.module " ;
4
+ import { NativeScriptCommonModule } from "nativescript-angular/common " ;
5
5
import { NativeScriptRouterModule } from "nativescript-angular/router" ;
6
6
7
7
import { LazyComponent } from "./lazy.component" ;
@@ -26,7 +26,7 @@ const routes: Route[] = [
26
26
@NgModule ( {
27
27
schemas : [ NO_ERRORS_SCHEMA ] ,
28
28
imports : [
29
- NativeScriptModule ,
29
+ NativeScriptCommonModule ,
30
30
NativeScriptRouterModule ,
31
31
NativeScriptRouterModule . forChild ( routes )
32
32
] ,
Original file line number Diff line number Diff line change 1
1
import { Component , NgModule } from "@angular/core" ;
2
- import { NativeScriptModule } from "nativescript-angular/nativescript.module " ;
2
+ import { NativeScriptCommonModule } from "nativescript-angular/common " ;
3
3
import { NativeScriptRouterModule } from "nativescript-angular/router" ;
4
4
import { ModalDialogParams } from "nativescript-angular/directives/dialogs" ;
5
5
import { Page } from "ui/page" ;
@@ -31,7 +31,7 @@ export class ModalLazyComponent {
31
31
] ,
32
32
entryComponents : [ ModalLazyComponent ] , // when lazily loaded and opened via modal on demand
33
33
imports : [
34
- NativeScriptModule ,
34
+ NativeScriptCommonModule ,
35
35
NativeScriptRouterModule ,
36
36
NativeScriptRouterModule . forChild ( routes )
37
37
] ,
You can’t perform that action at this time.
0 commit comments