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