ing
This commit is contained in:
parent
65808d9b67
commit
11b4fcfaf2
|
@ -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' },
|
||||
];
|
||||
|
|
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue
Block a user