Solve the problem of showing unregistered (unknown custom element) when importing components into Ant Design Pro

why
Ant – Design – Pro home page
When using the Ant-Design-Pro management framework directly, the project introduces some commonly used components on demand by default, so it will be wrong to use some rarely used components directly.
default on on demand components

error when introducing Calendar Calendar

The solution
Introduce the component you want into the lazy_use.js file. The component name is basically the English letter before the component library.

lazy_use.js file path

The introduction of
To pilot in this component, then register in the Vue(CTRL + data left to see if you can jump over)

Read More: