Skip to content

Instantly share code, notes, and snippets.

@buildmotion
Last active September 24, 2019 22:37
Show Gist options
  • Save buildmotion/8ebe0698a9e34828a91504aacad9f48b to your computer and use it in GitHub Desktop.
Save buildmotion/8ebe0698a9e34828a91504aacad9f48b to your computer and use it in GitHub Desktop.
AppRoutingModule-initial-lazy
import { NgModule } from '@angular/core';
import { CommonModule } from '@angular/common';
import { RouterModule, Routes } from '@angular/router';
const routes: Routes = [
{
// lazy-load the library application here;
}
];
@NgModule({
declarations: [],
imports: [
CommonModule,
RouterModule.forRoot(routes)
]
})
export class AppRoutingModule { }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment