import { Routes } from '@angular/router';
import { AuthComponent } from './auth.component';

export const authRoutes: Routes = [
  {
    path: '', component: AuthComponent,
    children: [{
      path: '', loadChildren: () => import('./login/login.module').then(m => m.LoginModule)
    },
    {
      path: 'register', loadChildren: () => import('./register/register.module').then(m => m.RegisterModule)
    },
    {
      path: 'forgot-password', loadComponent: () => import('./forgot-password/forgot-password.component').then(m => m.ForgotPasswordComponent)
    }]
  },

];
