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

vue2项目jsx代码编译报错 #250

Closed
billaGitHub2016 opened this issue Dec 12, 2021 · 5 comments
Closed

vue2项目jsx代码编译报错 #250

billaGitHub2016 opened this issue Dec 12, 2021 · 5 comments

Comments

@billaGitHub2016
Copy link

vue2项目jsx代码编译报错,请问有解决方法吗?
image

复现代码仓库:https://gitee.com/billa4161/vue2-base-emp

@ckken
Copy link
Contributor

ckken commented Jan 12, 2022

暂时没支持 可以参考 1.0的实现 或者等待后续支持

@MAXLZ1
Copy link
Contributor

MAXLZ1 commented Jan 21, 2022

如果要用jsx,建议使用babel替换swc,swc对于vue jsx不支持

@ckken ckken closed this as completed Feb 14, 2022
@lolipop99
Copy link
Contributor

@ckken antd-vue组件库采用JSX编写,还请支持下

@ckken
Copy link
Contributor

ckken commented Dec 14, 2022

@ckken
Copy link
Contributor

ckken commented Dec 14, 2022

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

4 participants