From b6ff278ac59b5b57cfdc98d5efdfe0b560110e1f Mon Sep 17 00:00:00 2001 From: "Zhimin YE (Rex)" Date: Mon, 3 Oct 2016 10:26:22 +0100 Subject: [PATCH] fix: #86 --- public/docs/ts/latest/tutorial/toh-pt5.jade | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) 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).