fix minor issues with router.jade.

This commit is contained in:
rexebin 2016-11-03 21:11:24 +00:00
parent ac2275dbe6
commit 85b0863bdd
1 changed files with 5 additions and 4 deletions

View File

@ -1408,6 +1408,9 @@ figure.image-display
:marked :marked
Keep the Routing Module file in the same folder as its companion module file. 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. 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 :marked
We use the same techniques we learned in creating the `app-routing.module.ts`. 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 a#redirect
h3#redirect Redirecting routes
h3#redirect 重定向路由
:marked :marked
### Redirecting routes ### Redirecting routes
### 重定向路由
When the application launches, the initial URL in the browser bar is something like: When the application launches, the initial URL in the browser bar is something like: