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! -

+
signin
\ No newline at end of file diff --git a/src/app/pages/auth/auth.component.html b/src/app/pages/auth/auth.component.html index cd5defa..90c6b64 100644 --- a/src/app/pages/auth/auth.component.html +++ b/src/app/pages/auth/auth.component.html @@ -1,4 +1 @@ -

- auth works! -

\ 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 cabd1c1..9d734cd 100644 --- a/src/app/pages/auth/auth.module.ts +++ b/src/app/pages/auth/auth.module.ts @@ -5,7 +5,7 @@ import { AuthComponent } from 'app/pages/auth/auth.component'; export const appRoutes: Routes = [{ path: '', component: AuthComponent, children: [ - { path: 'signin', loadChildren: './signin/signin.module#SigninModule' }, + { path: 'signin', loadChildren: './signin/signin.module#SigninModule' } ] } ]; diff --git a/src/app/pages/auth/signin/signin.component.html b/src/app/pages/auth/signin/signin.component.html index 21a29bd..0cdd669 100644 --- a/src/app/pages/auth/signin/signin.component.html +++ b/src/app/pages/auth/signin/signin.component.html @@ -1,3 +1,3 @@

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,