feat: update npm packages

This commit is contained in:
Sergey Andrievskiy 2021-08-06 18:48:35 +03:00 committed by d.strigo
parent f6d9ec88ad
commit 7a22737611
321 changed files with 19716 additions and 84 deletions

View file

@ -8,16 +8,24 @@ import {
NbRequestPasswordComponent,
NbResetPasswordComponent,
} from '@nebular/auth';
import { ThemeGuard } from './@core/guard/theme.guard';
export const routes: Routes = [
{
path: 'pages',
canActivate: [ThemeGuard],
loadChildren: () => import('./pages/pages.module')
.then(m => m.PagesModule),
},
{
path: 'themes',
loadChildren: () => import('app/themes-screen/starter.module')
.then(m => m.StarterModule),
},
{
path: 'auth',
component: NbAuthComponent,
canActivate: [ThemeGuard],
children: [
{
path: '',
@ -45,8 +53,8 @@ export const routes: Routes = [
},
],
},
{ path: '', redirectTo: 'pages', pathMatch: 'full' },
{ path: '**', redirectTo: 'pages' },
{ path: '', redirectTo: 'pages/dashboard', pathMatch: 'full' },
{ path: '**', redirectTo: 'pages/dashboard' },
];
const config: ExtraOptions = {