|
|
@ -2,6 +2,7 @@ import { |
|
|
DynamicLayoutComponent, |
|
|
DynamicLayoutComponent, |
|
|
ReplaceableComponents, |
|
|
ReplaceableComponents, |
|
|
ReplaceableRouteContainerComponent, |
|
|
ReplaceableRouteContainerComponent, |
|
|
|
|
|
AuthGuard, |
|
|
} from '@abp/ng.core'; |
|
|
} from '@abp/ng.core'; |
|
|
import { NgModule } from '@angular/core'; |
|
|
import { NgModule } from '@angular/core'; |
|
|
import { RouterModule, Routes } from '@angular/router'; |
|
|
import { RouterModule, Routes } from '@angular/router'; |
|
|
@ -12,6 +13,7 @@ const routes: Routes = [ |
|
|
{ |
|
|
{ |
|
|
path: '', |
|
|
path: '', |
|
|
component: DynamicLayoutComponent, |
|
|
component: DynamicLayoutComponent, |
|
|
|
|
|
canActivate: [AuthGuard], |
|
|
children: [ |
|
|
children: [ |
|
|
{ |
|
|
{ |
|
|
path: '', |
|
|
path: '', |
|
|
|