Skip to content

Commit e5f2fd1

Browse files
authored
add closing parentheses. (#568)
1 parent 365d370 commit e5f2fd1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/guide/component-registration.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ app.component('my-component-name', {
1616

1717
The component's name is the first argument of `app.component`. In the example above, the component's name is "my-component-name".
1818

19-
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:
19+
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:
2020

2121
1. All lowercase
2222
2. Contains a hyphen (i.e., has multiple words connected with the hyphen symbol)

0 commit comments

Comments
 (0)