Nie możesz wybrać więcej, niż 25 tematów Tematy muszą się zaczynać od litery lub cyfry, mogą zawierać myślniki ('-') i mogą mieć do 35 znaków.
 
 
 
 
 
 

73 wiersze
2.2 KiB

  1. import { NgModule } from '@angular/core';
  2. import { PreloadAllModules, RouterModule, Routes } from '@angular/router';
  3. const routes: Routes = [
  4. {
  5. path: '',
  6. loadChildren: () => import('./tabs/tabs.module').then(m => m.TabsPageModule)
  7. },
  8. {
  9. path: 'home',
  10. loadChildren: () => import('./home/home.module').then( m => m.HomePageModule)
  11. },
  12. {
  13. path: 'live',
  14. loadChildren: () => import('./live/live.module').then( m => m.LivePageModule)
  15. },
  16. {
  17. path: 'home-details',
  18. loadChildren: () => import('./home-details/home-details.module').then( m => m.HomeDetailsPageModule)
  19. },
  20. {
  21. path: 'player-stats',
  22. loadChildren: () => import('./player-stats/player-stats.module').then( m => m.PlayerStatsPageModule)
  23. },
  24. {
  25. path: 'booking',
  26. loadChildren: () => import('./booking/booking.module').then( m => m.BookingPageModule)
  27. },
  28. {
  29. path: 'booking-details',
  30. loadChildren: () => import('./booking-details/booking-details.module').then( m => m.BookingDetailsPageModule)
  31. },
  32. {
  33. path: 'match-details',
  34. loadChildren: () => import('./match-details/match-details.module').then( m => m.MatchDetailsPageModule)
  35. },
  36. {
  37. path: 'chat',
  38. loadChildren: () => import('./chat/chat.module').then( m => m.ChatPageModule)
  39. },
  40. {
  41. path: 'collections',
  42. loadChildren: () => import('./collections/collections.module').then( m => m.CollectionsPageModule)
  43. },
  44. {
  45. path: 'add-party',
  46. loadChildren: () => import('./add-party/add-party.module').then( m => m.AddPartyPageModule)
  47. },
  48. {
  49. path: 'ar-fan-cam',
  50. loadChildren: () => import('./ar-fan-cam/ar-fan-cam.module').then( m => m.ArFanCamPageModule)
  51. },
  52. {
  53. path: 'quiz',
  54. loadChildren: () => import('./quiz/quiz.module').then( m => m.QuizPageModule)
  55. },
  56. {
  57. path: 'shop',
  58. loadChildren: () => import('./shop/shop.module').then( m => m.ShopPageModule)
  59. },
  60. {
  61. path: 'fan-zone',
  62. loadChildren: () => import('./fan-zone/fan-zone.module').then( m => m.FanZonePageModule)
  63. },
  64. ];
  65. @NgModule({
  66. imports: [
  67. RouterModule.forRoot(routes, { preloadingStrategy: PreloadAllModules })
  68. ],
  69. exports: [RouterModule]
  70. })
  71. export class AppRoutingModule {}