A few extras included with the library.
Convert text to an HTMLTemplateElement element.
import { tpl } from '@li3/web';const template = tpl`<div>Hello, {{name}}!</div>`; Copy
import { tpl } from '@li3/web';const template = tpl`<div>Hello, {{name}}!</div>`;