This repository was archived by the owner on Dec 4, 2017. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +5
-10
lines changed
public/docs/ts/_cache/tutorial Expand file tree Collapse file tree 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
227227 We'll export a `routing` constant initialized using the `RouterModule.forRoot` method applied to our !{_array} of routes.
228228 This method returns a **configured router module** that we'll add to our root NgModule, `AppModule`.
229229
230- + makeExcerpt('app/app.routing.ts (excerpt)' , 'routing' )
230+ + makeExcerpt('app/app.routing.1. ts (excerpt)' , 'routing-export ' )
231231
232232 .l-sub-section
233233 :marked
@@ -479,15 +479,10 @@ code-example(format='').
479479 The colon (:) in the path indicates that `:id` is a placeholder to be filled with a specific hero `id`
480480 when navigating to the `HeroDetailComponent`.
481481
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.
491486
492487:marked
493488 We're finished with the application routes.
You can’t perform that action at this time.
0 commit comments