veaury icon indicating copy to clipboard operation
veaury copied to clipboard

update vite plugin

Open lin52025iq opened this issue 1 year ago • 1 comments

type 为 vue 时,支持自定义 react 组件文件目录

设置 默认 vueJsxInclude 和 vueJsxExclude,避免vite.config.ts 使用type 为 vue 或 react 时 ts报错。

lin52025iq avatar Nov 17 '23 03:11 lin52025iq

@lin52025iq 设置为type为custom就行了,然后通过设置vueJsxInclude来确定vue的jsx组件的文件目录,其他目录将识别为react的jsx,参考 https://github.com/devilwjp/veaury#vite 的custom设置部分

devilwjp avatar Nov 20 '23 02:11 devilwjp