Browse Source

feat: make AuthWrapperComponent replacable

pull/7990/head
Mustafa Tozlu 6 years ago
parent
commit
d24b3ee877
  1. 8
      npm/ng-packs/packages/account/src/lib/account-routing.module.ts

8
npm/ng-packs/packages/account/src/lib/account-routing.module.ts

@ -23,7 +23,13 @@ const routes: Routes = [
children: [ children: [
{ {
path: '', path: '',
component: AuthWrapperComponent, component: ReplaceableRouteContainerComponent,
data: {
replaceableComponent: {
key: eAccountComponents.AuthWrapper,
defaultComponent: AuthWrapperComponent,
} as ReplaceableComponents.RouteData<AuthWrapperComponent>,
},
children: [ children: [
{ {
path: 'login', path: 'login',

Loading…
Cancel
Save