fix minor issues with router.jade.
This commit is contained in:
parent
ac2275dbe6
commit
85b0863bdd
|
@ -1409,6 +1409,9 @@ figure.image-display
|
|||
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,13 +2553,11 @@ 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:
|
||||
|
||||
当应用启动时,浏览器地址栏的初始URL是这样的:
|
||||
|
|
Loading…
Reference in New Issue