diff --git a/src/app/app-routing.module.ts b/src/app/app-routing.module.ts index 7f29d5d..c2dd094 100644 --- a/src/app/app-routing.module.ts +++ b/src/app/app-routing.module.ts @@ -2,7 +2,7 @@ import { NgModule } from '@angular/core'; import { Routes, RouterModule } from '@angular/router'; const routes: Routes = [ - { path: 'auth', loadChildren: './pages/auth/auth.module#AuthModule' }, + { path: 'auth', loadChildren: './pages/auth/auth.module#AuthModule' } ]; @NgModule({ diff --git a/src/app/packages/member/signin/signin.component.html b/src/app/packages/member/signin/signin.component.html index 21a29bd..a8e7b3c 100644 --- a/src/app/packages/member/signin/signin.component.html +++ b/src/app/packages/member/signin/signin.component.html @@ -1,3 +1 @@ -
- signin works! -
+- auth works! -
signin works! -
+ \ No newline at end of file diff --git a/src/app/pages/auth/signin/signin.module.ts b/src/app/pages/auth/signin/signin.module.ts index f51cb54..3cf279e 100644 --- a/src/app/pages/auth/signin/signin.module.ts +++ b/src/app/pages/auth/signin/signin.module.ts @@ -9,10 +9,11 @@ const routes: Routes = [ @NgModule({ imports: [ - CommonModule + CommonModule, + RouterModule.forChild(routes) ], declarations: [ - SigninComponent + SigninComponent, ], exports: [ RouterModule,