From 5617821cf93de72a1b4f1e2150950ef7a5c9d35e Mon Sep 17 00:00:00 2001 From: rexebin Date: Sun, 27 Nov 2016 18:14:44 +0000 Subject: [PATCH] fix: aot-compiler and toh-pt6 --- public/docs/ts/latest/cookbook/aot-compiler.jade | 2 ++ public/docs/ts/latest/tutorial/toh-pt6.jade | 4 ++++ 2 files changed, 6 insertions(+) diff --git a/public/docs/ts/latest/cookbook/aot-compiler.jade b/public/docs/ts/latest/cookbook/aot-compiler.jade index 424a8615ec..f185059042 100644 --- a/public/docs/ts/latest/cookbook/aot-compiler.jade +++ b/public/docs/ts/latest/cookbook/aot-compiler.jade @@ -610,6 +610,8 @@ a#toh :marked ***Component-relative Template URLS*** + ***相对组件的模板路径*** + The AoT compiler requires that `@Component` URLS for external templates and css files be _component-relative_. That means that the value of `@Component.templateUrl` is a URL value _relative_ to the component class file. For example, a `'hero.component.html'` URL means that the template file is a sibling of its companion `hero.component.ts` file. diff --git a/public/docs/ts/latest/tutorial/toh-pt6.jade b/public/docs/ts/latest/tutorial/toh-pt6.jade index fa42a5896a..cc1fffbb7b 100644 --- a/public/docs/ts/latest/tutorial/toh-pt6.jade +++ b/public/docs/ts/latest/tutorial/toh-pt6.jade @@ -970,5 +970,9 @@ block file-summary :marked ### Next Step + ### 下一步 + Return to the [learning path](../guide/learning-angular.html#architecture) where you can read about the concepts and practices you discovered in this tutorial. + + 返回[学习路径](../guide/learning-angular.html#architecture),你可以阅读在本教程中探索到的概念和实践。 \ No newline at end of file