File tree 1 file changed +6
-2
lines changed 1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change 1
1
import { Routes } from '@angular/router' ;
2
2
import { NotFoundPageComponent } from './core/containers/not-found-page/not-found-page.component' ;
3
3
import { AuthGuard } from './auth/services/auth-guard.service' ;
4
+ import { UserPanelModule } from './user-panel/user-panel.module' ;
5
+ import { MainWallModule } from './main-wall/main-wall.module' ;
4
6
5
7
export const routes : Routes = [
6
8
{ path : '' , redirectTo : '/main-wall' , pathMatch : 'full' } ,
7
9
{
8
10
path : 'main-wall' ,
9
- loadChildren : './main-wall/main-wall.module#MainWallModule' ,
11
+ loadChildren : ( ) => MainWallModule ,
12
+ // loadChildren: './main-wall/main-wall.module#MainWallModule',
10
13
canActivate : [ AuthGuard ] ,
11
14
} ,
12
15
{
13
16
path : 'user-panel' ,
14
- loadChildren : './user-panel/user-panel.module#UserPanelModule' ,
17
+ loadChildren : ( ) => UserPanelModule ,
18
+ // loadChildren: './user-panel/user-panel.module#UserPanelModule',
15
19
canActivate : [ AuthGuard ] ,
16
20
} ,
17
21
{ path : '**' , component : NotFoundPageComponent } ,
You can’t perform that action at this time.
0 commit comments