How to realize Code Segmentation and dynamic loading when ant design pro Project is packaged

the project done by ant design pro is packed with a very large js file. How to separate the code and reduce the volume of js

Mar.13,2021

After
code segmentation and dynamic loading of version 0.3.0 of
, we support code segmentation and dynamic loading. The corresponding code will only be loaded after entering the corresponding route, so as to avoid loading too many unnecessary JS files on the first screen and improve the scalability of large-scale front-end application research and development.

document address

Menu