Using lit-html standalone – Lit

PHOTO EMBED

Fri Mar 04 2022 09:55:45 GMT+0000 (UTC)

Saved by @mboljar #undefined

const template = () => html`...`;
const container = document.getElementById('container');
const renderBefore = container.querySelector('footer');
render(template(), container, {renderBefore});
content_copyCOPY

https://lit.dev/docs/libraries/standalone-templates/