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

14 lines
358 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-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-11-29 08:28:00 +00:00
imports: [RouterModule.forRoot(routes, { useHash: true })],
2019-11-29 02:20:50 +00:00
exports: [RouterModule]
})
export class AppRoutingModule { }