2 <title>lit-html CDN example</title>
7 import { LitElement, html } from "https://cdn.pika.dev/lit-element";
9 class HelloWorld extends LitElement {
11 return html`<p>Hello world! Came here from ${document.referrer}</p>`;
15 customElements.define('hello-world', HelloWorld);
20 <h1>lit-html CDN examples</h1>