diff --git a/public/docs/ts/latest/tutorial/toh-pt5.jade b/public/docs/ts/latest/tutorial/toh-pt5.jade index 644a6d375a..237fee090f 100644 --- a/public/docs/ts/latest/tutorial/toh-pt5.jade +++ b/public/docs/ts/latest/tutorial/toh-pt5.jade @@ -1191,11 +1191,14 @@ figure.image-display 1. 把样式内容*剪切并粘贴*到新的heroes.component.css文件。 - 1. *Set* the component metadata's `templateUrl` and `styleUrls` properties to refer to both files. - 1. *Set* the `moduleId` property to `module.id` so that 'templateUrl` and `styleUrls` are relative to the component. + 1. *Set* the component metadata's `templateUrl` and `styleUrls` properties to refer to both files. 1. *设置*组件元数据的`templateUrl`和`styleUrls`属性,来分别引用这两个文件。 + 1. *Set* the `moduleId` property to `module.id` so that 'templateUrl` and `styleUrls` are relative to the component. + + 1. *设置*`moduleId`属性为`module.id`,将`templateUrl`和`styleUrls`路径设置为相对组件的路径。 + .l-sub-section :marked The `styleUrls` property is !{_an} !{_array} of style file names (with paths).