js/example-app/app/app-routing.module.ts
crusader bd8104ffe2 ing
2018-03-18 00:03:13 +09:00

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 { }