#44 根据 @edtim8 的建议做了更正。
This commit is contained in:
parent
05f8b866c2
commit
e8d0dab89c
|
@ -1330,7 +1330,7 @@ h3#merge-hero-routes 把英雄区的路由合并到应用程序的路由中
|
|||
|
||||
把`app.routes.ts`改成这样:
|
||||
|
||||
+makeExample('router/ts/app/app.routes.2.ts', '', 'app/app.routes.ts (v.2)')(format=".")
|
||||
+makeExample('router/ts/app/app.routes.3.ts', '', 'app/app.routes.ts (v.2)')(format=".")
|
||||
|
||||
:marked
|
||||
We replace the `HeroListComponent` import with an `HeroesRoutes` import.
|
||||
|
|
Loading…
Reference in New Issue