import { WebComponent } from '../../src/index.js' import { html, render as lit, } from 'https://unpkg.com/lit-html@3.1.0/lit-html.js' export class LitCounter extends WebComponent { static props = { count: 123, } get template() { const list = ['a', 'b', 'c', 'what'] const links = [ { url: 'https://ayco.io', text: 'Ayo Ayco', }, { url: 'https://ayco.io/gh/McFly', text: 'McFly', }, ] return html`
${list.map((item) => html`

${item}

`)}

Links

` } render() { lit(this.template, this) } } customElements.define('lit-counter', LitCounter)