Client: lazy load admin area

This commit is contained in:
Chocobozzz 2017-01-23 22:32:43 +01:00
parent 11ac88de40
commit b99290b1d5
55 changed files with 43 additions and 13 deletions

View file

@ -6,6 +6,10 @@ const routes: Routes = [
path: '',
redirectTo: '/videos/list',
pathMatch: 'full'
},
{
path: 'admin',
loadChildren: './+admin#AdminModule'
}
];