Vue deployment to the server cannot load the js file

vue project can run well locally, and js cannot be loaded after deployment to the server

bosses, excuse me, after deployment to the server, the home page can be loaded, but cannot make a request. What is the reason for opening the browser information for the above picture?
clipboard.png

[]
vue.config.js
clipboard.png

dist []
clipboard.png

index.html []
clipboard.png

related codes

/ / Please paste the code text below (do not replace the code with pictures)

The

file is deployed to NGINX, and the js, cannot be loaded after the backend deployment. May I ask whether it is the reason for the packaging at the front end or the problem of backend deployment?


you need to look at your path, and then go to the server directory to see if there is a corresponding file


baseUrl changed to ". /"

baseUrl:"./"
Menu