HTML 模板解析器

Tags
htmlidea
Created
Mar 19, 2019 3:13 AM

目标:解析模版(带数据的模版字符串)成 vDOM

使用 wasm ?

// 格式
{
    nodeType: 1,

    localName: 'div',
    childNodes: [
    {
type: 'text',
value: 'text'
}

],
    attributes: [
    {
name:  'value'
}

],
}
SuperMade with Super