The dist file generated after npm run build is thrown to the server, and the access error is reported.

the dist file generated after the vue project is packaged is reported to the server for error and cannot be accessed normally. It is very normal on localhost. After searching a lot of web articles, the reason cannot be found out

clipboard.png

Mar.07,2021

it should be a problem with the packaging path


you can refer to my article vue project non-root directory configuration . If you have any problems, you can continue to communicate

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