import { NgModule } from '@angular/core';
import { Routes, RouterModule } from '@angular/router';


const routes: Routes = [
 {path: '', redirectTo: 'login', pathMatch: 'full'},
 { path: 'notes', loadChildren: () => import('./modules/notes/notes.module').then(m => m.NotesModule) }
];

@NgModule({
  imports: [RouterModule.forRoot(routes)],
  exports: [RouterModule]
})
export class AppRoutingModule { }
