Skip to content

Commit ed56e75

Browse files
authored
Update web-components.md (vuejs#1166)
Correct typo
1 parent 569ef74 commit ed56e75

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/guide/web-components.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ The primary benefit of custom elements is that they can be used with any framewo
7373

7474
### defineCustomElement
7575

76-
Vue supports creating custom elements using exactly the same Vue component APIs via the [`defineCustomElment`](/api/global-api.html#definecustomelement) method. The method accepts the same argument as [`defineComponent`](/api/global-api.html#definecomponent), but instead returns a custom element constructor that extends `HTMLElement`:
76+
Vue supports creating custom elements using exactly the same Vue component APIs via the [`defineCustomElement`](/api/global-api.html#definecustomelement) method. The method accepts the same argument as [`defineComponent`](/api/global-api.html#definecomponent), but instead returns a custom element constructor that extends `HTMLElement`:
7777

7878
```html
7979
<my-vue-element></my-vue-element>

0 commit comments

Comments
 (0)