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

.
Menu