Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- export const routes: Routes = [
- { path: '', redirectTo: '/dashboard', pathMatch: 'full' },
- {
- path: 'dashboard',
- component: DashboardComponent,
- },
- {
- path: 'p2p-bazaar',
- loadChildren: () => import('./p2p-bazaar/p2p-bazaar.module').then(mod => mod.P2pBazaarModule),
- canActivate: [guards.EthInitGuard],
- },
- { path: '**', component: NotFoundPageComponent }, // !!!has to be the last one
- ];
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement