The problem that Ant Design does not take effect after "demand loading" configuration

create a react project with create-react-app. If you want to use ant-design, the UI library, the official website describes loading on demand as follows:

http://ant.design/docs/react/.

how exactly does this "load on demand" use Tendt


antd is different from antd-mobile. If you use antd-mobile, it should be equipped with libraryName: "antd-mobile"


import {Button} from 'antd';

.
Menu