contacts-routing.module.ts 752 B

123456789101112131415161718192021
  1. import { NgModule } from '@angular/core';
  2. import { RouterModule, Routes } from '@angular/router';
  3. const routes: Routes = [
  4. {path: 'friends', loadChildren: () => import('./friends/friends.module').then(mod => mod.FriendsPageModule)},
  5. {
  6. path: 'add-frends',
  7. loadChildren: () => import('./add-frends/add-frends.module').then( m => m.AddFrendsPageModule)
  8. },
  9. // {
  10. // path: 'ai-chat',
  11. // loadChildren: () => import('./ai-chat/ai-chat.module').then( m => m.AiChatPageModule)
  12. // },
  13. // {path: 'chat-page', loadChildren: () => import('./chat-page/chat-page.component').then(mod => mod.ChatPageComponent)},
  14. ];
  15. @NgModule({
  16. imports: [RouterModule.forChild(routes)],
  17. exports: [RouterModule]
  18. })
  19. export class ContactsRoutingModule { }