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

🧐[问题 | question]请问,如何使用js版本的pro,安装默认的是ts版本 #10219

Closed
Dnzzk2 opened this issue Sep 9, 2022 · 5 comments

Comments

@Dnzzk2
Copy link

Dnzzk2 commented Sep 9, 2022

我目前不会ts,我需要用antd pro 的js版本,但是通过官方的脚手架,安装的是ts版本,这该如何解决

@drizzlesconsin
Copy link

直接使用 .js

@Dnzzk2
Copy link
Author

Dnzzk2 commented Sep 9, 2022

直接使用 .js

我是个小白,我修改文件名,但是文件内部的结构,我不知道如何修改,我今天改了好多,依然报错,呜呜呜

@wuranxu
Copy link

wuranxu commented Sep 14, 2022

使用旧版本antd pro

新版本似乎不再支持jsx了,可以用旧版本顶一顶,里面可以选择jsx

@LsyWeb
Copy link

LsyWeb commented Sep 14, 2022

直接使用.js

我是个小白,我修改了文件名,但是文件内部的修改结构,我不知道怎么做,我今天改了很多,仍然报错,呜呜呜

ts的学习很快的,可以花几天时间学一下,几天就可以学会在react中简单的使用

@chenshuai2144
Copy link
Collaborator

chenshuai2144 commented Sep 24, 2022

不支持js了,都2022��了。对大家都好点。

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