Dynamic change rootPage on inic 4

Hello guests , How are you Please I need you I would like to know how to change a dynamic face the root Page sur ionic 4 Thank you

{path: '', loadChildren: './pages/tabs/tabs.module#TabsPageModule'},
  

Since I migrated from ionic 3 to ionic 4 I had this problem which bothers a lot

You need to disable the nav control when first init.
And redirect user to a route manually.

@ app-routing.module.ts

@NgModule({
  imports: [
    RouterModule.forRoot(routes, { preloadingStrategy: PreloadAllModules, initialNavigation: false })
  ],
  exports: [RouterModule]
})

@ app.component.ts – route user after platform.ready

this.navCtrl.navigateRoot('/login');

Thank you very much I have been working on a project for many months and I did not know it was possible, that navController had been replaced by router