webpack5 自己搭建的环境,引入关于表单的组件都报错,无法渲染 #4463
              
                Unanswered
              
          
                  
                    
                      AlwaysLoveme
                    
                  
                
                  asked this question in
                Q&A
              
            Replies: 2 comments 1 reply
-
| 开发环境: | 
Beta Was this translation helpful? Give feedback.
                  
                    1 reply
                  
                
            -
| 大概率你本地安装的是 1.x 版本 | 
Beta Was this translation helpful? Give feedback.
                  
                    0 replies
                  
                
            
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment
  
        
    
Uh oh!
There was an error while loading. Please reload this page.
-
我自己用webpack5搭建了vue3 + ts 的项目环境,运行vue3没有问题,但是引入antd组件后,所有关于表单的组件都报错,无法渲染,如下,我引入Input组件,报错:

webpack配置如下:
webpack.base.config.js:
webpack.dev.config.js:
babel.config.js:
Beta Was this translation helpful? Give feedback.
All reactions