Quantcast
Channel: Ionic Forum - Latest topics
Viewing all articles
Browse latest Browse all 70433

Problem with ionic-tabs

$
0
0

@fabrizioV wrote:

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 !

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 70433

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>