After vue lazy loading, packing a js file is too large!??

after inspection, it is found that this 2.js contains several routes and the vue components under each route. How can I split them?

Apr.24,2021

large modules load asynchronously


1, load lazily
2, use webpack externals to type it out
3, if it is in the page, spin off the business as much as possible

Menu