customElements -> customElement
pull/3666/head
Infant Frontender 5 years ago committed by Conduitry
parent 87a9ee2d87
commit 77e3605c39

@ -945,7 +945,7 @@ app.count += 1;
--- ---
Svelte components can also be compiled to custom elements (aka web components) using the `customElements: true` compiler option. You should specify a tag name for the component using the `<svelte:options>` [element](docs#svelte_options). Svelte components can also be compiled to custom elements (aka web components) using the `customElement: true` compiler option. You should specify a tag name for the component using the `<svelte:options>` [element](docs#svelte_options).
```html ```html
<svelte:options tag="my-element"> <svelte:options tag="my-element">

Loading…
Cancel
Save