Skip to content
This repository was archived by the owner on Aug 2, 2019. It is now read-only.

Commit 3e786ad

Browse files
committed
it compiles again! :-)
1 parent 8eb2504 commit 3e786ad

File tree

2 files changed

+6
-33
lines changed

2 files changed

+6
-33
lines changed

src/app/app.routing.ts

+4-21
Original file line numberDiff line numberDiff line change
@@ -1,28 +1,11 @@
11
import { Routes, RouterModule } from '@angular/router';
2+
23
import { HomeComponent } from './home/';
34

5+
6+
47
export const routes: Routes = [
5-
{ path: '', component: HomeComponent },
6-
//{ path: 'iteration-1', loadChildren: 'app/book-monkey/iteration-1/iteration-1.module#IterationOneModule' }
7-
{ path: 'iteration-1', loadChildren: 'app/book-monkey/iteration-1/book-list/app.module#AppModule' }
8-
/*,
9-
{
10-
path: 'iteration-2',
11-
loadChildren: './book-monkey/iteration-2/iteration-2.module#IterationTwoModule'
12-
},
13-
{
14-
path: 'iteration-3',
15-
loadChildren: './book-monkey/iteration-3/iteration-3.module#IterationThreeModule'
16-
},
17-
{
18-
path: 'iteration-4',
19-
loadChildren: './book-monkey/iteration-4/iteration-4.module#IterationFourModule'
20-
},
21-
{
22-
path: 'iteration-5',
23-
loadChildren: './book-monkey/iteration-5/iteration-5.module#IterationFiveModule'
24-
}*/
8+
{ path: '', component: HomeComponent }
259
];
2610

2711
export const routing = RouterModule.forRoot(routes);
28-

src/app/book-monkey/iteration-1/iteration-1.routing.ts

+2-12
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,5 @@ import { RouterModule } from '@angular/router';
22
import { IterationOneComponent } from './iteration-1.component';
33

44
export const routing = RouterModule.forChild([
5-
{ path: '', redirectTo: 'book-list', pathMatch: 'full' },
6-
{ path: 'book-list', loadChildren: 'app/book-monkey/iteration-1/book-list/app.module.ts#AppModule' },
7-
/*,
8-
{
9-
path: 'book-list-refactored',
10-
loadChildren: './book-list-refactored/app.module.ts#AppModule',
11-
},
12-
{
13-
path: 'book-details',
14-
loadChildren: './book-details/app.module.ts#AppModule',
15-
}*/
16-
]);
5+
{ path: '', redirectTo: 'book-list', pathMatch: 'full' }
6+
]);

0 commit comments

Comments
 (0)