From ff9fb72487b1daaa3b419f3ead9d2acf6fa642ab Mon Sep 17 00:00:00 2001 From: Maple13 Date: Wed, 3 Feb 2021 17:42:55 +0800 Subject: [PATCH] Update component-overview.md --- aio/content/guide/component-overview.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/aio/content/guide/component-overview.md b/aio/content/guide/component-overview.md index ace8e9e17b..080ce1efb9 100644 --- a/aio/content/guide/component-overview.md +++ b/aio/content/guide/component-overview.md @@ -267,7 +267,7 @@ You can declare component styles uses for its template in one of two ways: by re 你有以下两种方式来为组件的模板声明样式:引用一个外部文件,或直接写在组件内部。 -To declare the styles for a component in a separate file, add a `stylesUrls` property to the `@Component` decorator. +To declare the styles for a component in a separate file, add a `styleUrls` property to the `@Component` decorator. 要在单独的文件中声明组件的样式,就要把 `styleUrls` 属性添加到 `@Component` 装饰器中。