From 9e88c6af025d3c05526f9321eb90d5d6d8262b7c Mon Sep 17 00:00:00 2001 From: HomMarkHunt Date: Tue, 29 Sep 2020 21:13:17 +0900 Subject: [PATCH] add closing parentheses. --- src/guide/component-registration.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/guide/component-registration.md b/src/guide/component-registration.md index cef7d22d87..09a7b50990 100644 --- a/src/guide/component-registration.md +++ b/src/guide/component-registration.md @@ -16,7 +16,7 @@ app.component('my-component-name', { The component's name is the first argument of `app.component`. In the example above, the component's name is "my-component-name". -The name you give a component may depend on where you intend to use it. When using a component directly in the DOM (as opposed to in a string template or [single-file component](../guide/single-file-component.html), we strongly recommend following the [W3C rules](https://html.spec.whatwg.org/multipage/custom-elements.html#valid-custom-element-name) for custom tag names: +The name you give a component may depend on where you intend to use it. When using a component directly in the DOM (as opposed to in a string template or [single-file component](../guide/single-file-component.html)), we strongly recommend following the [W3C rules](https://html.spec.whatwg.org/multipage/custom-elements.html#valid-custom-element-name) for custom tag names: 1. All lowercase 2. Contains a hyphen (i.e., has multiple words connected with the hyphen symbol)