When writing a jsx function in setup, h = this.$createElement will be automatically injected, but there is no this in setup, and h has been injected import {h} from '@vue/composition-api' babel.config.js module.exports = { presets: [ [ '@vue/app', { jsx: { compositionAPI: true ...