目录
uni-app切换为vue3版本
新建一个项目

切换为vue3

选择版本为3即可
安装ant-design-vue插件
npm i --save ant-design-vue
全局完整注册

注意写到下面的vue3中 上面是vue2...
之前我就错写到了vue2中 导致警告信息
[Vue warn]: Failed to resolve component: a-input
If this is a native custom element, make sure to exclude it from component resolution via compilerOptions.isCustomElement.
本文介绍了如何将uni-app项目切换到Vue3版本,并详细讲解了安装与全局注册ant-design-vue插件的过程。在升级过程中需要注意组件注册的位置,避免出现Vue警告信息,如`[Vuewarn]: Failed to resolve component: a-input`。
2108





