user-routing.module.ts 696 B

123456789101112131415161718
  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. @NgModule({
  13. imports: [RouterModule.forChild(routes)],
  14. exports: [RouterModule]
  15. })
  16. export class UserRoutingModule { }