I am unable to produce a simple example with mini-van package since it always causes an error with van.add() method. It even shows in the Mini-Van docs that Mini Van supports the van.add() method.
The simple example
<script type="module">
import van from './node_modules/mini-van-plate/src/van-plate.js';
const { h1 } = van.tags
van.add(document.body, h1('Hello World'))
</script>
The error itself
Uncaught TypeError: dom.children.push is not a function
add http://localhost:8080/node_modules/mini-van-plate/src/van-plate.js:85
<anonymous> http://localhost:8080/mini-van.html:6
I am unable to produce a simple example with
mini-vanpackage since it always causes an error withvan.add()method. It even shows in the Mini-Van docs that Mini Van supports thevan.add()method.The simple example
The error itself