import { Routes } from '@angular/router';

export const routes: Routes = [
  {
    path: 'auth',
    // loadChildren: () => import('./auth/auth.module').then((m) => m.AuthModule),
    loadChildren: () => import('./auth/auth-module').then((m) => m.AuthModule),
  },
  {
    path: '',
    loadChildren: () => import('./dashboard/dashboard-module').then((m) => m.DashboardModule),
  },
  { path: '**', redirectTo: 'auth/login' },
];
