user-routing.module.ts 813 B

12345678910111213141516171819202122
  1. import { NgModule } from '@angular/core';
  2. import { RouterModule, Routes } from '@angular/router';
  3. const routes: Routes = [
  4. {path: 'login', loadChildren: () => import('./login/login.module').then(mod => mod.LoginPageModule)},
  5. {path: 'mine', loadChildren: () => import('./mine/mine.module').then(mod => mod.MinePageModule)},
  6. {path: 'edit/info', loadChildren: () => import('./edit-info/edit-info.module').then(mod => mod.EditInfoPageModule)},
  7. {
  8. path: 'register',
  9. loadChildren: () => import('./register/register.module').then( m => m.RegisterPageModule)
  10. },
  11. {
  12. path: 'tabs',
  13. loadChildren: () => import('../../app/tabs/tabs.module').then( m => m.TabsPageModule)
  14. },
  15. ];
  16. @NgModule({
  17. imports: [RouterModule.forChild(routes)],
  18. exports: [RouterModule]
  19. })
  20. export class UserRoutingModule { }