diff --git a/.angular-cli.json b/.angular-cli.json
index 1857e91..aac7a84 100644
--- a/.angular-cli.json
+++ b/.angular-cli.json
@@ -56,6 +56,10 @@
},
"defaults": {
"styleExt": "scss",
- "component": {}
+ "component": {},
+ "serve": {
+ "host":"127.0.0.1",
+ "port":4200
+ }
}
}
diff --git a/src/app/commons/ui/material/material.module.ts b/src/app/commons/ui/material/material.module.ts
index 3b45d72..22f6bfd 100644
--- a/src/app/commons/ui/material/material.module.ts
+++ b/src/app/commons/ui/material/material.module.ts
@@ -6,7 +6,8 @@ import {
MatSlideToggleModule, MatInputModule, MatCheckboxModule,
MatToolbarModule, MatSnackBarModule, MatSidenavModule,
MatTabsModule, MatSelectModule, MatRadioModule,
- MatAutocompleteModule, MatFormFieldModule, MatChipsModule
+ MatAutocompleteModule, MatFormFieldModule, MatChipsModule,
+ MatDialogModule,
} from '@angular/material';
const MATERIAL_MODULES: any[] = [
@@ -15,7 +16,8 @@ const MATERIAL_MODULES: any[] = [
MatSlideToggleModule, MatInputModule, MatCheckboxModule,
MatToolbarModule, MatSnackBarModule, MatSidenavModule,
MatTabsModule, MatSelectModule, MatRadioModule,
- MatAutocompleteModule, MatFormFieldModule, MatChipsModule
+ MatAutocompleteModule, MatFormFieldModule, MatChipsModule,
+ MatDialogModule,
];
@NgModule({
diff --git a/src/app/packages/discovery/components/setting/setting.component.html b/src/app/packages/discovery/components/setting/setting.component.html
new file mode 100644
index 0000000..92645d8
--- /dev/null
+++ b/src/app/packages/discovery/components/setting/setting.component.html
@@ -0,0 +1,90 @@
+
\ No newline at end of file
diff --git a/src/app/packages/discovery/components/setting/setting.component.scss b/src/app/packages/discovery/components/setting/setting.component.scss
new file mode 100644
index 0000000..e69de29
diff --git a/src/app/packages/discovery/components/setting/setting.component.spec.ts b/src/app/packages/discovery/components/setting/setting.component.spec.ts
new file mode 100644
index 0000000..009aeb2
--- /dev/null
+++ b/src/app/packages/discovery/components/setting/setting.component.spec.ts
@@ -0,0 +1,25 @@
+import { async, ComponentFixture, TestBed } from '@angular/core/testing';
+
+import { SettingComponent } from './setting.component';
+
+describe('SettingComponent', () => {
+ let component: SettingComponent;
+ let fixture: ComponentFixture;
+
+ beforeEach(async(() => {
+ TestBed.configureTestingModule({
+ declarations: [ SettingComponent ]
+ })
+ .compileComponents();
+ }));
+
+ beforeEach(() => {
+ fixture = TestBed.createComponent(SettingComponent);
+ component = fixture.componentInstance;
+ fixture.detectChanges();
+ });
+
+ it('should create', () => {
+ expect(component).toBeTruthy();
+ });
+});
diff --git a/src/app/packages/discovery/components/setting/setting.component.ts b/src/app/packages/discovery/components/setting/setting.component.ts
new file mode 100644
index 0000000..5e0ec99
--- /dev/null
+++ b/src/app/packages/discovery/components/setting/setting.component.ts
@@ -0,0 +1,15 @@
+import { Component, OnInit } from '@angular/core';
+
+@Component({
+ selector: 'of-setting',
+ templateUrl: './setting.component.html',
+ styleUrls: ['./setting.component.scss']
+})
+export class SettingComponent implements OnInit {
+
+ constructor() { }
+
+ ngOnInit() {
+ }
+
+}
diff --git a/src/app/packages/discovery/discovery.module.ts b/src/app/packages/discovery/discovery.module.ts
new file mode 100644
index 0000000..f712783
--- /dev/null
+++ b/src/app/packages/discovery/discovery.module.ts
@@ -0,0 +1,19 @@
+import { NgModule } from '@angular/core';
+import { CommonModule } from '@angular/common';
+
+import { SettingComponent } from './components/setting/setting.component';
+import { MaterialModule } from 'app/commons/ui/material/material.module';
+
+@NgModule({
+ imports: [
+ CommonModule,
+ MaterialModule
+ ],
+ declarations: [
+ SettingComponent,
+ ],
+ exports: [
+ SettingComponent,
+ ]
+})
+export class DiscoveryModule { }
diff --git a/src/app/pages/discovery/discovery-routing.module.ts b/src/app/pages/discovery/discovery-routing.module.ts
new file mode 100644
index 0000000..4d35ef3
--- /dev/null
+++ b/src/app/pages/discovery/discovery-routing.module.ts
@@ -0,0 +1,16 @@
+import { NgModule } from '@angular/core';
+import { Routes, RouterModule } from '@angular/router';
+import { DiscoveryComponent } from './discovery.component';
+
+const routes: Routes = [
+ {
+ path: '',
+ component: DiscoveryComponent,
+ }
+];
+
+@NgModule({
+ imports: [RouterModule.forChild(routes)],
+ exports: [RouterModule]
+})
+export class DiscoveryRoutingModule { }
diff --git a/src/app/pages/discovery/discovery.component.html b/src/app/pages/discovery/discovery.component.html
new file mode 100644
index 0000000..c340618
--- /dev/null
+++ b/src/app/pages/discovery/discovery.component.html
@@ -0,0 +1,5 @@
+
+ discovery works!
+
+
+
\ No newline at end of file
diff --git a/src/app/pages/discovery/discovery.component.scss b/src/app/pages/discovery/discovery.component.scss
new file mode 100644
index 0000000..e69de29
diff --git a/src/app/pages/discovery/discovery.component.spec.ts b/src/app/pages/discovery/discovery.component.spec.ts
new file mode 100644
index 0000000..7a7d088
--- /dev/null
+++ b/src/app/pages/discovery/discovery.component.spec.ts
@@ -0,0 +1,25 @@
+import { async, ComponentFixture, TestBed } from '@angular/core/testing';
+
+import { DiscoveryComponent } from './discovery.component';
+
+describe('DiscoveryComponent', () => {
+ let component: DiscoveryComponent;
+ let fixture: ComponentFixture;
+
+ beforeEach(async(() => {
+ TestBed.configureTestingModule({
+ declarations: [ DiscoveryComponent ]
+ })
+ .compileComponents();
+ }));
+
+ beforeEach(() => {
+ fixture = TestBed.createComponent(DiscoveryComponent);
+ component = fixture.componentInstance;
+ fixture.detectChanges();
+ });
+
+ it('should create', () => {
+ expect(component).toBeTruthy();
+ });
+});
diff --git a/src/app/pages/discovery/discovery.component.ts b/src/app/pages/discovery/discovery.component.ts
new file mode 100644
index 0000000..3820d71
--- /dev/null
+++ b/src/app/pages/discovery/discovery.component.ts
@@ -0,0 +1,15 @@
+import { Component, OnInit } from '@angular/core';
+
+@Component({
+ selector: 'of-discovery',
+ templateUrl: './discovery.component.html',
+ styleUrls: ['./discovery.component.scss']
+})
+export class DiscoveryComponent implements OnInit {
+
+ constructor() { }
+
+ ngOnInit() {
+ }
+
+}
diff --git a/src/app/pages/discovery/discovery.module.ts b/src/app/pages/discovery/discovery.module.ts
new file mode 100644
index 0000000..9c78a4b
--- /dev/null
+++ b/src/app/pages/discovery/discovery.module.ts
@@ -0,0 +1,23 @@
+import { NgModule } from '@angular/core';
+import { CommonModule } from '@angular/common';
+
+import { DiscoveryComponent } from './discovery.component';
+import { DiscoveryRoutingModule } from './discovery-routing.module';
+
+import { DiscoveryModule as DisModule } from '../../packages/discovery/discovery.module';
+
+// import { MaterialModule } from 'app/commons/ui/material/material.module';
+
+@NgModule({
+ imports: [
+ CommonModule,
+ DiscoveryRoutingModule,
+ DisModule,
+ // MaterialModule
+ ],
+ exports: [
+ // MaterialModule
+ ],
+ declarations: [DiscoveryComponent]
+})
+export class DiscoveryModule { }
diff --git a/src/app/pages/pages-routing.module.ts b/src/app/pages/pages-routing.module.ts
index 6e8eed5..e3c9567 100644
--- a/src/app/pages/pages-routing.module.ts
+++ b/src/app/pages/pages-routing.module.ts
@@ -9,6 +9,7 @@ const routes: Routes = [
children: [
{ path: '', redirectTo: 'home' },
{ path: 'home', loadChildren: './home/home-page.module#HomePageModule' },
+ { path: 'discovery', loadChildren: './discovery/discovery.module#DiscoveryModule' },
]
}
];