fix: aot-compiler and toh-pt6

This commit is contained in:
rexebin 2016-11-27 18:14:44 +00:00
parent 733d702874
commit 5617821cf9
2 changed files with 6 additions and 0 deletions

View File

@ -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.

View File

@ -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),你可以阅读在本教程中探索到的概念和实践。