-
Notifications
You must be signed in to change notification settings - Fork 13.4k
Closed
Labels
Description
Bug Report
Ionic Info
Run ionic info from a terminal/cmd prompt and paste the output below.
Ionic:
ionic (Ionic CLI) : 4.0.6 (/usr/local/lib/node_modules/ionic)
Ionic Framework : @ionic/angular 4.0.0-beta.2
@angular-devkit/core : 0.7.3
@angular-devkit/schematics : 0.7.3
@angular/cli : 6.1.3
@ionic/ng-toolkit : 1.0.6
@ionic/schematics-angular : 1.0.2
Cordova:
cordova (Cordova CLI) : 8.0.0
Cordova Platforms : android 7.0.0, ios 4.5.4
System:
NodeJS : v10.8.0 (/usr/local/bin/node)
npm : 6.3.0
OS : macOS High Sierra
Xcode : Xcode 9.4.1 Build version 9F2000
Environment:
ANDROID_HOME : not set
Describe the Bug
I've updated my app from Angular 6 to Angular 6.1, because the ionic-conference-app got this update too.
Before the update, the lazy loaded tabs were displayed and everything was working fine. Now, only the TabsPage is loaded, all lazy loaded tabs are not.
Steps to Reproduce
Steps to reproduce the behavior:
- Checkout
ionic-conference-appon branchcore-update - Modify the
routesdescribed intabs-page-routing.module.tsto use lazy loading:
This is the route configuration, that does work with Angular 6.0.2 and 6.1.2
{
path: 'schedule',
component: SchedulePage,
outlet: 'schedule'
},
This one only works with Angular 6.0.2:
{
path: 'schedule',
outlet: 'schedule',
loadChildren: '../schedule/schedule.module#ScheduleModule'
}
- See, that the Schedule page is not being loaded anymore
I've used this article to create tabs that are lazy loaded
Expected Behavior
The tabs get loaded with Angular 6 and 6.1
cvaliere