From 12b04f145bae740e1971036b1e2dfc1bc224d17b Mon Sep 17 00:00:00 2001 From: fengxiang <110431245@qq.com> Date: Wed, 11 Jul 2018 14:38:47 +0800 Subject: [PATCH] Revert "框架调整" --- src/app/routes/style/style-routing.module.ts | 18 ++++++++++++++++++ 1 files changed, 18 insertions(+), 0 deletions(-) diff --git a/src/app/routes/style/style-routing.module.ts b/src/app/routes/style/style-routing.module.ts new file mode 100644 index 0000000..27f3778 --- /dev/null +++ b/src/app/routes/style/style-routing.module.ts @@ -0,0 +1,18 @@ +import { NgModule } from '@angular/core'; +import { Routes, RouterModule } from '@angular/router'; + +import { GridMasonryComponent } from './gridmasonry/gridmasonry.component'; +import { TypographyComponent } from './typography/typography.component'; +import { ColorsComponent } from './colors/colors.component'; + +const routes: Routes = [ + { path: 'gridmasonry', component: GridMasonryComponent }, + { path: 'typography', component: TypographyComponent }, + { path: 'colors', component: ColorsComponent }, +]; + +@NgModule({ + imports: [RouterModule.forChild(routes)], + exports: [RouterModule], +}) +export class StyleRoutingModule {} -- Gitblit v1.8.0