Vue-router reported an error after being loaded lazily and packaged online.

there is no problem locally, but when you click Navigation to enter the route after the package is launched, you will report an error, and it is very slow to load at the first time, but I can still enter the route when I click again. I used vue-router lazy load.

some people say that it is to change the build.assetsPublicPath in the idnex.js of the config folder to"/", that"s what mine is, it"s useless.

the error code is as follows:
Error: Loading chunk 4 failed.
Uncaught (in promise) Error: Loading chunk 4 failed.


this error occurs, which is usually caused by a path problem. Check it. If there is no problem, and then click to load successfully, it is possible that the operator hijacked http or dns, solution to use https.

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b31081-4e9c7.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b31081-4e9c7.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?