Skip to content

Commit ebf7552

Browse files
author
VladimirAmiorkov
committed
chore: fix lazy loaded component not loading
1 parent e46ba21 commit ebf7552

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

e2e/nested-router-tab-view/app/app.routing.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ import { LoginComponent } from "./login/login.component";
1010
import { TabsComponent } from "./tabs/tabs.component";
1111
import { HomeComponent } from "./home/home.component";
1212
import { HomeLazyModule } from "./home-lazy/home-lazy.module";
13+
import { CustomTabsModule } from "./custom-tabs/custom-tabs.module"
1314
import { AboutComponent } from "./about/about.component";
1415
import { AboutNestedComponent } from "./about/about-nested.component";
1516

@@ -51,7 +52,7 @@ const routes: Routes = [
5152
},
5253
{
5354
path: "custom-tabs",
54-
loadChildren: "./custom-tabs/custom-tabs.module#CustomTabsModule",
55+
loadChildren: () => CustomTabsModule,
5556
},
5657
{
5758
path: "tabs", component: TabsComponent, children: [

e2e/nested-router-tab-view/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"nativescript": {
77
"id": "org.nativescript.nestedroutertabview",
88
"tns-ios": {
9-
"version": "6.0.0-2019-06-10-154118-03"
9+
"version": "next"
1010
},
1111
"tns-android": {
1212
"version": "next"

0 commit comments

Comments
 (0)