diff --git a/src/app/commons/ui/material/material.module.ts b/src/app/commons/ui/material/material.module.ts index fbe970a..bf16297 100644 --- a/src/app/commons/ui/material/material.module.ts +++ b/src/app/commons/ui/material/material.module.ts @@ -6,7 +6,7 @@ import { MatSlideToggleModule, MatInputModule, MatCheckboxModule, MatToolbarModule, MatSnackBarModule, MatSidenavModule, MatTabsModule, MatSelectModule, MatRadioModule, - MatAutocompleteModule + MatAutocompleteModule, MatFormFieldModule } from '@angular/material'; const MATERIAL_MODULES: any[] = [ @@ -15,7 +15,7 @@ const MATERIAL_MODULES: any[] = [ MatSlideToggleModule, MatInputModule, MatCheckboxModule, MatToolbarModule, MatSnackBarModule, MatSidenavModule, MatTabsModule, MatSelectModule, MatRadioModule, - MatAutocompleteModule, + MatAutocompleteModule, MatFormFieldModule ]; @NgModule({ diff --git a/src/app/packages/member/signin/signin.component.html b/src/app/packages/member/signin/signin.component.html index a8e7b3c..bef54bf 100644 --- a/src/app/packages/member/signin/signin.component.html +++ b/src/app/packages/member/signin/signin.component.html @@ -1 +1 @@ -
signin
\ No newline at end of file +
login
\ No newline at end of file diff --git a/src/app/pages/auth/auth.module.ts b/src/app/pages/auth/auth.module.ts index 9d734cd..3de9a6d 100644 --- a/src/app/pages/auth/auth.module.ts +++ b/src/app/pages/auth/auth.module.ts @@ -2,12 +2,15 @@ import { NgModule } from '@angular/core'; import { CommonModule } from '@angular/common'; import { RouterModule, Routes } from '@angular/router'; import { AuthComponent } from 'app/pages/auth/auth.component'; +import { SigninComponent } from 'app/pages/auth/signin/signin.component'; -export const appRoutes: Routes = [{ - path: '', component: AuthComponent, children: [ - { path: 'signin', loadChildren: './signin/signin.module#SigninModule' } - ] -} +export const appRoutes: Routes = [ + // { + // path: '', component: AuthComponent, children: [ + // { path: 'signin', component: SigninComponent }, + // ] + // } + { path: 'signin', component: SigninComponent }, ]; @NgModule({ @@ -16,7 +19,7 @@ export const appRoutes: Routes = [{ RouterModule.forChild(appRoutes), ], declarations: [ - AuthComponent + SigninComponent ] }) export class AuthModule { } diff --git a/src/app/pages/auth/signin/signin.module.ts b/src/app/pages/auth/signin/signin.module.ts index 3cf279e..ff4a199 100644 --- a/src/app/pages/auth/signin/signin.module.ts +++ b/src/app/pages/auth/signin/signin.module.ts @@ -1,22 +1,11 @@ import { NgModule } from '@angular/core'; import { CommonModule } from '@angular/common'; -import { SigninComponent } from './signin.component'; -import { Routes, RouterModule } from '@angular/router'; - -const routes: Routes = [ - { path: '', component: SigninComponent }, -]; +import { SigninComponent } from 'app/packages/member/signin/signin.component'; @NgModule({ imports: [ - CommonModule, - RouterModule.forChild(routes) + CommonModule ], - declarations: [ - SigninComponent, - ], - exports: [ - RouterModule, - ] + declarations: [ SigninComponent ] }) export class SigninModule { }