fix: aot-compiler and toh-pt6
This commit is contained in:
parent
733d702874
commit
5617821cf9
|
@ -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.
|
||||
|
|
|
@ -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),你可以阅读在本教程中探索到的概念和实践。
|
Loading…
Reference in New Issue