modulor html:Web组件缺少模板引擎 源码
模数HTML Web组件缺少模板引擎 import { html , render } from '@modulor-js/html' ; customElements . define ( 'my-component' , class extends HTMLElement { set props ( { first , second } ) { render ( html ` < div> first: ${ first } < div> second: ${ second } ` , this ) ;
用户评论