Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

swapnilnandgave's avatar

VNode to Html String

Vuejs is just awesome. I am looking for solution where we can convert VNode to html output string. For example

import { h } from 'vue'
const vnode = h('div')

To

<div></div>

Is there any helper method to get that without using render function?

Or

you can suggest npm package

0 likes
0 replies

Please or to participate in this conversation.