I have a Vue component that has its own rendering method. However, the method is not called.
<template>
<div class="guide"></div>
</template>
<script>
export default {
name: 'guide',
render: function(createElement){
return createElement('div', 'this will never get called?'),
},
};
</script>
I looked at the documentation for the components of a single file, but does not refer to any caveats regarding render (). Is there any other way to call this method?
source
share