import { templateTransformNodes } from 'xiao-you-transform-v3'
const template:string = `<div id="root"><span><i><b>11</b></i></span></div>`
const node = templateTransformNodes(template)
// node = HTML NODE
import {
templateTransformNodes,
nodesTransformVNodes
} from 'xiao-you-transform-v3'
const template:string = `<div id="root"><span><i><b>11</b></i></span></div>`
const nodes = templateTransformNodes(template)
// node = HTML NODE
const VNodes = nodesTransformVNodes(nodes)
// Use In Vue3
// 1. Use In Setup Function
setup(){
return VNodes
}
//2. Use In Render Function
render(){
return VNodes
}