diff --git a/docs-src/index.md b/docs-src/index.md index c1464c2..c7fa056 100644 --- a/docs-src/index.md +++ b/docs-src/index.md @@ -58,7 +58,7 @@ import {html, render} from 'lit-html'; const name="lit-html"; render(html` -
<my-element> can be used with declarative rendering libraries like Angular, React, Vue, and lit-html
import {html, render} from 'lit-html';
const name="lit-html";
render(html`
<h2>This is a my-element>h2>
<my-element .name=${name}></my-element>
`, document.body);
+import {html, render} from 'lit-html';
const name="lit-html";
render(html`
<h2>This is a <my-element></h2>
<my-element .name=${name}></my-element>
`, document.body);