首页 新闻 会员 周边

Cannot find module 'antd'

0
悬赏园豆:5 [已关闭问题] 关闭于 2020-07-25 16:29

我在 tsx 文件中引入 antd 组件,报这个错误,我已经安装了 antd 模块。求高手指教
Cannot find module antd

zanetti的主页 zanetti | 初学一级 | 园豆:128
提问于:2020-07-25 00:30
< >
分享
所有回答(1)
0

安装了 @types/antd 依赖后,问题就解决了。但是 antd 官网却说不要安装,好坑……

zanetti | 园豆:128 (初学一级) | 2020-07-25 16:28
清除回答草稿
   您需要登录以后才能回答,未注册用户请先注册