How can I make Vue 2 render my component without escaping the HTML entity and printing it as normal text? If it were a tag, I'd nest another createElement, but this is not the case.
Vue.component('my-component', {
render: function(createElement) {
return createElement('div', ' ')
}
})
new Vue({
el: '#app',
components: [
'my-component'
]
})
<script src="https://cdnjs.cloudflare.com/ajax/libs/vue/2.3.0/vue.min.js"></script>
<div id="app">
<my-component />
</div>