File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -18,7 +18,7 @@ npm i -g @angular/cli
18
18
ng --version
19
19
```
20
20
21
- This guide uses Angular CLI 7 .0.3 .
21
+ This guide uses Angular CLI 9 .0.0 .
22
22
23
23
After that run:
24
24
@@ -46,19 +46,19 @@ const routes: Routes = [
46
46
{
47
47
path: ' ' ,
48
48
pathMatch: ' full' ,
49
- loadChildren: ' ./index/index.module#IndexModule '
49
+ loadChildren : () => import ( ' ./index/index.module' ). then ( m => m . IndexModule )
50
50
},
51
51
{
52
52
path: ' about' ,
53
- loadChildren: ' ./about/about.module#AboutModule '
53
+ loadChildren : () => import ( ' ./about/about.module' ). then ( m => m . AboutModule )
54
54
},
55
55
{
56
56
path: ' example' ,
57
- loadChildren: ' ./example/example.module#ExampleModule '
57
+ loadChildren : () => import ( ' ./example/example.module' ). then ( m => m . ExampleModule )
58
58
},
59
59
{
60
60
path: ' media' ,
61
- loadChildren: ' ./media/media.module#MediaModule '
61
+ loadChildren : () => import ( ' ./media/media.module' ). then ( m => m . MediaModule )
62
62
}
63
63
];
64
64
You can’t perform that action at this time.
0 commit comments