From a3a8c23b196980732a795713a5eb5fe0c7075bf9 Mon Sep 17 00:00:00 2001 From: fengxiang <110431245@qq.com> Date: Wed, 11 Jul 2018 21:47:13 +0800 Subject: [PATCH] Revert "提交" --- src/app/routes/routes.module.ts | 38 ++++++++++++++++++++++++++++++++++---- 1 files changed, 34 insertions(+), 4 deletions(-) diff --git a/src/app/routes/routes.module.ts b/src/app/routes/routes.module.ts index 541f784..5fe1b20 100644 --- a/src/app/routes/routes.module.ts +++ b/src/app/routes/routes.module.ts @@ -1,9 +1,39 @@ -import { NgModule } from "@angular/core"; +import { NgModule } from '@angular/core'; -import { SharedModule } from "@shared/shared.module"; -import { RouteRoutingModule } from "./routes-routing.module"; +import { SharedModule } from '@shared/shared.module'; +import { RouteRoutingModule } from './routes-routing.module'; +// dashboard pages +import { DashboardV1Component } from './dashboard/v1/v1.component'; +import { DashboardAnalysisComponent } from './dashboard/analysis/analysis.component'; +import { DashboardMonitorComponent } from './dashboard/monitor/monitor.component'; +import { DashboardWorkplaceComponent } from './dashboard/workplace/workplace.component'; +// passport pages +import { UserLoginComponent } from './passport/login/login.component'; +import { UserRegisterComponent } from './passport/register/register.component'; +import { UserRegisterResultComponent } from './passport/register-result/register-result.component'; +// single pages +import { UserLockComponent } from './passport/lock/lock.component'; +import { CallbackComponent } from './callback/callback.component'; +import { Exception403Component } from './exception/403.component'; +import { Exception404Component } from './exception/404.component'; +import { Exception500Component } from './exception/500.component'; -const COMPONENTS = []; +const COMPONENTS = [ + DashboardV1Component, + DashboardAnalysisComponent, + DashboardMonitorComponent, + DashboardWorkplaceComponent, + // passport pages + UserLoginComponent, + UserRegisterComponent, + UserRegisterResultComponent, + // single pages + UserLockComponent, + CallbackComponent, + Exception403Component, + Exception404Component, + Exception500Component +]; const COMPONENTS_NOROUNT = []; @NgModule({ -- Gitblit v1.8.0