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

能否支持vite的vue3项目使用react的范例呢。 #139

Open
guhan121 opened this issue Aug 14, 2024 · 2 comments
Open

能否支持vite的vue3项目使用react的范例呢。 #139

guhan121 opened this issue Aug 14, 2024 · 2 comments

Comments

@guhan121
Copy link

旧项目是vite+vue3+antd实现的(vue + ts)。

需要复制进去的react项目是react+antd(tsx)

复制代码到src/react_app目录下。按照配置设置了编译插件。运行后。
image

@devilwjp
Copy link
Collaborator

devilwjp commented Aug 14, 2024

@guhan121 当然是支持的,你使用veaury的vite插件了吗,提供一个测试项目,我看下

@devilwjp
Copy link
Collaborator

@guhan121 看你截图中的错误,你的vite项目配置应该是不支持tsx文件

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