Advertisement
Guest User

Untitled

a guest
Jul 19th, 2019
118
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.41 KB | None | 0 0
  1. export const routes: Routes = [
  2. { path: '', redirectTo: '/dashboard', pathMatch: 'full' },
  3. {
  4. path: 'dashboard',
  5. component: DashboardComponent,
  6. },
  7. {
  8. path: 'p2p-bazaar',
  9. loadChildren: () => import('./p2p-bazaar/p2p-bazaar.module').then(mod => mod.P2pBazaarModule),
  10. canActivate: [guards.EthInitGuard],
  11. },
  12. { path: '**', component: NotFoundPageComponent }, // !!!has to be the last one
  13. ];
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement