13 lines
404 B
TypeScript
13 lines
404 B
TypeScript
import { NgModule } from '@angular/core';
|
|
import { Routes, RouterModule, PreloadAllModules } from '@angular/router';
|
|
|
|
const routes: Routes = [
|
|
{ path: 'auth', loadChildren: './pages/auth/auth-page.module#AuthPageModule' },
|
|
];
|
|
|
|
@NgModule({
|
|
imports: [RouterModule.forRoot(routes, {useHash: true, preloadingStrategy: PreloadAllModules})],
|
|
exports: [RouterModule],
|
|
})
|
|
export class AppRoutingModule { }
|