翻译完了toh-pt5的新增内容

This commit is contained in:
Zhicheng Wang 2017-04-16 22:15:19 +08:00
parent e4df9a8634
commit 34f3940544
2 changed files with 14 additions and 1 deletions

View File

@ -189,7 +189,7 @@ code-example(language="sh" class="code-shell").
:marked
### Create *AppComponent*
## 创建 *AppComponent*
### 创建 *AppComponent*
The new `AppComponent` is the application shell.
It will have some navigation links at the top and a display area below.
@ -310,14 +310,21 @@ code-example(language="sh" class="code-shell").
Open `index.html` and ensure there is a `<base href="...">` element
(or a script that dynamically sets this element)
at the top of the `<head>` section.
打开`index.html`,确保它的`<head>`区顶部有一个`<base href="...">`元素(或动态生成该元素的脚本)。
+makeExample('toh-5/ts/src/index.html', 'base-href', 'src/index.html (base-href)')
.callout.is-important
header base href is essential
header 基地址base href是必须的
:marked
For more information, see the [Set the base href](../guide/router.html#!#base-href)
section of the [Routing and Navigation](../guide/router.html) page.
要了解更多信息,请参见[路由与导航](../guide/router.html)章的[设置基地址base href](../guide/router.html#!#base-href)部分。
a#configure-routes

View File

@ -121,3 +121,9 @@ body, .main-nav .main-nav-button, .translated-cn {
img {
max-width: 100%;
}
.l-sub-section {
p {
margin-bottom: 0;
}
}