Created
November 29, 2017 20:12
-
-
Save adrianfaciu/78070c4409702e6e4c947150c00774d9 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
export const routes: Routes = [ | |
{ path: '', redirectTo: 'items', pathMatch: 'full' }, | |
{ | |
path: 'items', | |
loadChildren: 'app/+items/items.module#ItemsModule', | |
}, | |
{ | |
path: 'item', | |
loadChildren: 'app/+item-details/item-details.module#ItemDetailsModule', | |
}, | |
{ | |
path: 'admin', | |
loadChildren: 'app/+admin/admin.module#AdminModule', | |
}, | |
]; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment