Hi everybody,
i’m sorry for my english , he is not good !.
So my problem it’s with ionic-tabs.
I have Home , i click at the button connection, i enter my login and password after i redirect to my page tabs. but i’m not redirect to the page tabs with my children page account.
my app-routing.module contains
const routes: Routes = [
{ path: '', redirectTo: 'home', pathMatch: 'full' },
{ path: 'home', loadChildren: () => import('./home/home.module').then( m => m.HomePageModule)},
{path: 'inscription', component : InscriptionComponent},
{path : 'connexion', component: ConnexionComponent},
{
path: 'tabs',
loadChildren : './tabs/tabs.module#TabsPageModule'
},
];
tabs-routing.module contains :
const routes: Routes = [
{
path: 'tabs',
component: TabsPage,
children : [
{
path: 'compte',
children:
[
{
path: '',
loadChildren: '../compte/compte.module#ComptePageModule'
}
]
}
],
},
{
path : '',
redirectTo : 'home',
pathMatch : 'full'
}
];
Compte contains :
const routes: Routes = [
{
path: '',
component: ComptePage
}
];```
thanks you !