diff --git a/src/app/app-routing.module.ts b/src/app/app-routing.module.ts index c75ae12..3bca962 100644 --- a/src/app/app-routing.module.ts +++ b/src/app/app-routing.module.ts @@ -3,8 +3,8 @@ import { Routes, RouterModule, PreloadAllModules } from '@angular/router'; import { AuthGuard } from './commons/guard/auth.guard'; const routes: Routes = [ - // { path: '', loadChildren: './pages/pages.module#PagesModule', canActivate: [AuthGuard] }, - { path: '', loadChildren: './pages/pages.module#PagesModule'}, + { path: '', loadChildren: './pages/pages.module#PagesModule', canActivate: [AuthGuard] }, + // { path: '', loadChildren: './pages/pages.module#PagesModule'}, { path: 'auth', loadChildren: './pages/auth/auth-page.module#AuthPageModule' }, // { path: 'errors', loadChildren: './pages/errors/errors-page.module#ErrorsPageModule' }, ]; diff --git a/src/app/app.module.ts b/src/app/app.module.ts index 65e5214..ad86321 100644 --- a/src/app/app.module.ts +++ b/src/app/app.module.ts @@ -15,6 +15,8 @@ import { AuthGuard } from './commons/guard/auth.guard'; import { BrowserModule } from '@angular/platform-browser'; import { BrowserAnimationsModule } from '@angular/platform-browser/animations'; +import { MemberModule } from 'packages/member/member.module'; + @NgModule({ imports: [ BrowserModule, @@ -26,6 +28,7 @@ import { BrowserAnimationsModule } from '@angular/platform-browser/animations'; AppRPCModule, AppRESTModule, AppLoggerModule, + MemberModule, ], declarations: [ AppComponent,