Ant Design Pro在使用某些Ant Design Vue的组件时,报错未注册

报错

[Vue warn]: Unknown custom element: - did you register the component correctly? For recursive components, make sure to provide the “name” option.
Ant Design Pro在使用某些Ant Design Vue的组件时,报错未注册
简单测试,发现树型选择控件(TreeSelect)、穿梭框(Transfer)是没有预加的。

解决

Ant Design Pro为了减少编译支持库包大小,是按需加入的。
配置文件为components_use.js
Ant Design Pro在使用某些Ant Design Vue的组件时,报错未注册