I wrote a component using Vue3 tsx, and now I need to package it with tsup. How to compile the input tsx into Vue's h function,我尝试 在 tsconfig.json 配置
,But my jsxImportSource p cannot run correctly if it is configured as' vue '. How should I configure it
I wrote a component using Vue3 tsx, and now I need to package it with tsup. How to compile the input tsx into Vue's h function,我尝试 在 tsconfig.json 配置 ,But my jsxImportSource p cannot run correctly if it is configured as' vue '. How should I configure it
import { defineComponent } from 'vue'
export default defineComponent({ setup() { return () => <>
} })
Upvote & Fund