TypeError: h is not a function with Vue/Nuxt 3

Does anyone else get the error “TypeError: h is not a function” when trying to use renderBlocks inside of datocms-structured-text following this example Vue.js/Nuxt.js - Structured Text fields - DatoCMS Docs exactly and correcting for the model. I can get text to render fine but no image tags…

OK so this documentation is better GitHub - datocms/vue-datocms: Vue.js components for DatoCMS it can now pick out the typename but renders datocms-image into the html.

2 Likes