now there is a large amount of code that needs to be optimized for on-demand loading.
found the plug-in react-loadable on the official website.
react-loadable--githup
is configured as follows. Open the console network and there is no chunk.js
to ask the boss for advice.
the demo I wrote myself is similar to the example I found on the Internet. Why can"t it be realized?
ask the boss to take a look at