Created
May 23, 2022 11:07
-
-
Save NyaGarcia/ab68eb742d81b28fd835631622a72147 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { RouterModule, Routes } from '@angular/router'; | |
import { NgModule } from '@angular/core'; | |
const routes: Routes = [ | |
{ | |
path: '', | |
loadChildren: () => | |
import('./features/pokemon/pokemon.module').then((m) => m.PokemonModule), | |
}, | |
]; | |
@NgModule({ | |
imports: [RouterModule.forRoot(routes)], | |
exports: [RouterModule], | |
}) | |
export class AppRoutingModule {} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment