The resources packaged by webpack are only reported as 404 on individual pages.

after the static resources are packaged, there is a problem only with the routes referenced on individual pages, and the deployment environment is nginx.

clipboard.png

clipboard.png

the above is the compressed js file under the same packaged file, with different page references in the same environment.

Mar.05,2021

is caused by the mode of vue-router 's history. If you change it to hash, you can


you can see that the url referenced on different pages is different. Your publicPath is not written correctly, is it?

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-1e4c8ff-43beb.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-1e4c8ff-43beb.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?