From c65963b055c330e499f92e9614d1a44a98228297 Mon Sep 17 00:00:00 2001 From: crusader Date: Mon, 29 Apr 2019 23:49:35 +0900 Subject: [PATCH] bug of layout is fixed --- .../main/component/main.page.component.html | 18 +++++++++++++++++- .../lib/component/main-layout.component.html | 18 +----------------- .../src/lib/layout.module.ts | 4 +++- 3 files changed, 21 insertions(+), 19 deletions(-) diff --git a/projects/odds-crawler-frontend-app/src/app/page/main/component/main.page.component.html b/projects/odds-crawler-frontend-app/src/app/page/main/component/main.page.component.html index 0680b43..f9d9604 100644 --- a/projects/odds-crawler-frontend-app/src/app/page/main/component/main.page.component.html +++ b/projects/odds-crawler-frontend-app/src/app/page/main/component/main.page.component.html @@ -1 +1,17 @@ - + + + + Content 11 + + + + + Content 21 + + + + + Content 31 + + + diff --git a/projects/odds-crawler-frontend-layout/src/lib/component/main-layout.component.html b/projects/odds-crawler-frontend-layout/src/lib/component/main-layout.component.html index 9eef56e..0680b43 100644 --- a/projects/odds-crawler-frontend-layout/src/lib/component/main-layout.component.html +++ b/projects/odds-crawler-frontend-layout/src/lib/component/main-layout.component.html @@ -1,17 +1 @@ - - - - Content 1 - - - - - Content 2 - - - - - Content 3 - - - + diff --git a/projects/odds-crawler-frontend-layout/src/lib/layout.module.ts b/projects/odds-crawler-frontend-layout/src/lib/layout.module.ts index 6c069f2..18712cd 100644 --- a/projects/odds-crawler-frontend-layout/src/lib/layout.module.ts +++ b/projects/odds-crawler-frontend-layout/src/lib/layout.module.ts @@ -1,6 +1,8 @@ import { NgModule } from '@angular/core'; import { CommonModule } from '@angular/common'; +import { RouterModule } from '@angular/router'; + import { OddsCrawlerFrontendCommonModule } from '@odds-crawler/common'; import { DefaultLayoutComponent } from './component/default-layout.component'; @@ -10,7 +12,7 @@ export const COMPONENTS = [DefaultLayoutComponent, MainLayoutComponent]; @NgModule({ declarations: [...COMPONENTS], - imports: [CommonModule, OddsCrawlerFrontendCommonModule], + imports: [CommonModule, RouterModule, OddsCrawlerFrontendCommonModule], exports: [...COMPONENTS] }) export class OddsCrawlerFrontendLayoutModule {}