Closed mreinstein closed 10 months ago
oy.js:
var vdom = require('virtual-dom') var hyperx = require('hyperx') var hx = hyperx(vdom.h) const tree = hx`<div> <style> .test > ul { background-color: red; } </style> </div>` const r = vdom.create(tree).toString() console.error(r)
output:
➜ node oy.js <div> <style> ul { background-color: red; } </style> </div> ➜
oy.js:
output: