fix minor issues with router.jade.
This commit is contained in:
parent
ac2275dbe6
commit
85b0863bdd
|
@ -1408,6 +1408,9 @@ figure.image-display
|
|||
:marked
|
||||
Keep the Routing Module file in the same folder as its companion module file.
|
||||
Here both `heroes-routing.module.ts` and `heroes.module.ts` are in the same `app/heroes` folder.
|
||||
|
||||
将路由模块文件放到它相关的模块文件所在目录里。
|
||||
这里,`heroes-routing.module.ts`和`heroes.module.ts`都在`app/heroes`目录中。
|
||||
|
||||
:marked
|
||||
We use the same techniques we learned in creating the `app-routing.module.ts`.
|
||||
|
@ -2550,12 +2553,10 @@ h3#import-crisis-module 把危机中心模块导入`AppModule`的路由中
|
|||
|
||||
a#redirect
|
||||
|
||||
h3#redirect Redirecting routes
|
||||
|
||||
h3#redirect 重定向路由
|
||||
|
||||
:marked
|
||||
### Redirecting routes
|
||||
|
||||
### 重定向路由
|
||||
|
||||
When the application launches, the initial URL in the browser bar is something like:
|
||||
|
||||
|
|
Loading…
Reference in New Issue