I created the Jhipster application and try to add the lazy loading module, which give the module not found exception.
I follow the "https://jaseb.github.io/angular2-example/" article but still the same exception. I try myself. Please help me us to proceed further.Please find the code snippets as follows.
app.route.ts
import { NgModule } from '@angular/core';
import { Routes, RouterModule } from '@angular/router';
import {NavbarComponent} from "./layouts/navbar/navbar.component";
export const routes: Routes = [
{ path: '', component: NavbarComponent, outlet: 'navbar'},
{ path: 'lazy', loadChildren: 'app/modules/lazy/lazy.module#LazyModule' }
];
@NgModule({
imports: [ RouterModule.forRoot(routes) ],
exports: [ RouterModule ]
})
export class AppRoutingModule {
}