diff options
author | Arundathi Patil <arundpil@in.ibm.com> | 2019-01-07 22:24:41 +0530 |
---|---|---|
committer | IBM602-PC0F1E3C\Arundathi <arundpil@in.ibm.com> | 2019-01-07 22:25:09 +0530 |
commit | 5f6175d79c9a5780608a5805ad563669e96a8943 (patch) | |
tree | ab2a75d8bfc3434644987b8cd298e6baeb1f5f8e /cds-ui/client/src/app/app-routing.module.ts | |
parent | 637fbd7608d1a4d5d595d3da993e8829d13f1304 (diff) |
App routing
added application routes
Issue-ID: CCSDK-816
Change-Id: Iba52d17aeabdb767c52cf6f8d56bf0bca1ae031c
Signed-off-by: Arundathi Patil <arundpil@in.ibm.com>
Diffstat (limited to 'cds-ui/client/src/app/app-routing.module.ts')
-rw-r--r-- | cds-ui/client/src/app/app-routing.module.ts | 30 |
1 files changed, 11 insertions, 19 deletions
diff --git a/cds-ui/client/src/app/app-routing.module.ts b/cds-ui/client/src/app/app-routing.module.ts index 8a33f224a..22e488749 100644 --- a/cds-ui/client/src/app/app-routing.module.ts +++ b/cds-ui/client/src/app/app-routing.module.ts @@ -21,28 +21,20 @@ limitations under the License. import { NgModule } from '@angular/core'; import { Routes, RouterModule } from '@angular/router'; -// import { AboutComponent } from './common/shared/components/about/about.component'; -// import { PageNotFoundComponent } from './common/shared/components/page-not-found/page-not-found.component'; -// import { SelectTemplateComponent } from './feature-module/select-template/select-template.component'; -// import { HomeComponent } from './common/shared/components/home/home.component'; +import { HomeComponent } from './common/shared/components/home/home.component'; const routes: Routes = [ -// { -// path: '', -// component: HomeComponent, -// children: [ -// { -// path: '', -// component: AboutComponent - -// }, -// { -// path: 'controllerBlueprint', -// loadChildren: './feature-module/controller-blueprint/controller-blueprint.module#ControllerBlueprintModule' -// } -// ] -// } +{ + path: '', + component: HomeComponent, + children: [ + { + path: 'blueprint', + loadChildren: './feature-modules/blueprint/blueprint.module#BlueprintModule' + } + ] +} ]; @NgModule({ |