public-gateway-cacher/src/app/app-routing.module.ts

15 lines
432 B
TypeScript
Raw Normal View History

2019-11-29 02:20:50 +00:00
import { NgModule } from '@angular/core';
2019-11-29 03:35:03 +00:00
import { RouterModule, Routes } from '@angular/router';
2019-12-03 06:02:57 +00:00
import { environment } from '../environments/environment';
2019-11-29 02:20:50 +00:00
2019-11-29 03:35:03 +00:00
const routes: Routes = [{
path: '',
loadChildren: () => import('./pages/pages.module').then(m => m.PagesModule),
}];
2019-11-29 02:20:50 +00:00
@NgModule({
2019-12-03 06:02:57 +00:00
imports: [RouterModule.forRoot(routes, { useHash: environment.useHash })],
2019-11-29 02:20:50 +00:00
exports: [RouterModule]
})
export class AppRoutingModule { }