Vue3项目按需引入Ant-Design-Vue:解决Uncaught TypeError: Cannot read property ‘prototype‘ of undefined问题!
1插件安装准备ant-design-vuebabel-plugin-importyarnaddant-design-vuebabel-plugin-import2项目配置2.1babel.config.jsplugins:[['import',{libraryName:'ant-design-vue',libraryDirectory:'es',style:true,//官网只写css},],],