From 32a1d4fac56ff29b0e50fa88bdf88047c51bc0be Mon Sep 17 00:00:00 2001 From: Ahmed Abbas Date: Tue, 19 Nov 2019 19:23:04 +0200 Subject: add main module and hrml of designer component in new cds ui Issue-ID: CCSDK-1779 Signed-off-by: Ahmed Abbas Change-Id: I144c151777d5d036b0f40780edf2c5f36c11956b --- cds-ui/client-frankfurt/src/app/app-routing.module.ts | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'cds-ui/client-frankfurt/src/app/app-routing.module.ts') diff --git a/cds-ui/client-frankfurt/src/app/app-routing.module.ts b/cds-ui/client-frankfurt/src/app/app-routing.module.ts index b42468b9f..e55393b03 100644 --- a/cds-ui/client-frankfurt/src/app/app-routing.module.ts +++ b/cds-ui/client-frankfurt/src/app/app-routing.module.ts @@ -22,6 +22,14 @@ limitations under the License. import {NgModule} from '@angular/core'; import {Routes, RouterModule} from '@angular/router'; +const routes: Routes = [ + {path: 'packages', loadChildren: './modules/feature-modules/packages/packages.module#PackagesModule'}, + { + path: '', + redirectTo: 'packages', + pathMatch: 'full' + }, +]; @NgModule({ imports: [RouterModule.forRoot(routes)], -- cgit 1.2.3-korg