Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

在vue+vite为主项目中 引入veaury以后 原本的vue tsx 组件会报错 #145

Open
Joker-x-dev opened this issue Oct 26, 2024 · 1 comment

Comments

@Joker-x-dev
Copy link

在vue+vite项目中装上veaury以后 原本的vue tsx就会出现报错的情况 虽然不影响运行 但是看报错还是比较难受的 有解决的办法不?
示例二次封装的ui组件库的button组件:
iShot_2024-10-26_11 18 23
veaury配置如下:
iShot_2024-10-26_11 31 27

@devilwjp
Copy link
Collaborator

@Joker-x-dev 这个案例的ts冲突是来自于vue和react的冲突,你可以自行修改两者的d.ts声明文件,参考https://github.com/gloriasoft/veaury?tab=readme-ov-file#typescript-jsx-types-conflict-caused-by-vue-and-react-at-the-same-time

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants