This repository was archived by the owner on Dec 4, 2017. It is now read-only.
File tree 1 file changed +5
-10
lines changed
public/docs/ts/_cache/tutorial
1 file changed +5
-10
lines changed Original file line number Diff line number Diff line change @@ -227,7 +227,7 @@ block router-config-intro
227
227
We'll export a `routing` constant initialized using the `RouterModule.forRoot` method applied to our !{_array} of routes.
228
228
This method returns a **configured router module** that we'll add to our root NgModule, `AppModule`.
229
229
230
- + makeExcerpt('app/app.routing.ts (excerpt)' , 'routing' )
230
+ + makeExcerpt('app/app.routing.1. ts (excerpt)' , 'routing-export ' )
231
231
232
232
.l-sub-section
233
233
:marked
@@ -479,15 +479,10 @@ code-example(format='').
479
479
The colon (:) in the path indicates that `:id` is a placeholder to be filled with a specific hero `id`
480
480
when navigating to the `HeroDetailComponent`.
481
481
482
- .l-sub-section
483
- :marked
484
- Remember to import the hero detail component before creating this route.
485
-
486
- + ifDocsFor('ts|js' )
487
- :marked
488
- Add the `HeroDetailComponent` to our root NgModule's `declarations`.
489
-
490
- + makeExcerpt('app/app.module.ts' , 'hero-detail' )
482
+ + ifDocsFor('dart' )
483
+ .l-sub-section
484
+ :marked
485
+ Remember to import the hero detail component before creating this route.
491
486
492
487
:marked
493
488
We're finished with the application routes.
You can’t perform that action at this time.
0 commit comments