Last active
December 10, 2016 16:53
-
-
Save matthieu-D/4ede86e9a685e45c09e278aaf4469f5e to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { RouterModule, PreloadAllModules } from '@angular/router'; | |
import { ROUTES } from './app.routes'; | |
import { HomeComponent } from './home'; | |
import { NoContentComponent } from './no-content' | |
@NgModule({ | |
declarations: [ | |
HomeComponent, | |
NoContentComponent | |
], | |
imports: [ | |
RouterModule.forRoot(ROUTES, { useHash: true, preloadingStrategy: PreloadAllModules }) | |
] | |
}) | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment