Created
August 26, 2017 08:29
-
-
Save seven-cd/95e838a95c6a237f54e9905f47efb1ae to your computer and use it in GitHub Desktop.
ng2router-nested.js
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
const appRoutes : Routes = [ | |
{ | |
path: '', | |
component : PublicComponent, | |
children: [ | |
{ | |
path: 'book-detail/:id', | |
component: BookDetailComponent | |
} | |
] | |
} | |
]; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment