I'm trying to render a Single File Vue Component from a render function but it isn't being created. I tried variations similar to:
// simple.vue
<template>
...
</template>
<script>
...
</script>
// parent.vue
<script>
import Simple from
export default {
name: "parentComponent",
render: function (h) {
return h(
"div",
null,
Simple // [Simple], Vue.component(Simple)
}
}
</script>
How can I build Vue components from render functions? If it makes a difference I'm also using pug.
render: h => h(Simple)
– Appointor