As Troubledot wrote it works, I want to add that you need to use jsx
Example on Nuxt 3
<script setup lang="jsx">
const = columns [{
title: 'Design',
dataIndex: 'designImage.fileUrl',
customRender () {
return <div id="foo">bar</div>
}
}]
</script>