From 60b58b47cecd7611ad8df2561a84bf0548ad6ad9 Mon Sep 17 00:00:00 2001 From: xufenglei <xufenglei> Date: Wed, 20 Dec 2017 13:54:45 +0800 Subject: [PATCH] Merge branch 'develop' of http://blit.7drlb.com:8888/r/screen-frontend.git into develop --- src/app/routes/systems/systems.module.ts | 32 ++++++++++++++++++++++++++++++++ 1 files changed, 32 insertions(+), 0 deletions(-) diff --git a/src/app/routes/systems/systems.module.ts b/src/app/routes/systems/systems.module.ts new file mode 100644 index 0000000..d645b78 --- /dev/null +++ b/src/app/routes/systems/systems.module.ts @@ -0,0 +1,32 @@ +import { Component, OnInit } from '@angular/core'; +import { NgModule } from '@angular/core'; +import { CommonModule } from '@angular/common'; +import { RouterModule, Routes } from '@angular/router'; +import { SharedModule } from '@shared/shared.module'; + +import { AccountComponent } from './account/account.component'; + +const routes: Routes = [ + { + path: '', + children: [ + { path: 'account', component: AccountComponent } + ] + } +]; + +const COMPONENTS_NOROUNT = [ ]; + +@NgModule({ + imports: [ + CommonModule, + SharedModule, + RouterModule.forChild(routes) + ], + declarations: [ + ...COMPONENTS_NOROUNT, + AccountComponent + ], + entryComponents: COMPONENTS_NOROUNT +}) +export class SystemsModule { } -- Gitblit v1.8.0