After vue-cli npm run build, there is no error in the blank page.

Today, I encountered a strange problem with a project built with vue-cli. After running completely normal, npm run build, the page went blank without any error message (not caused by the assetsPublicPath setting, the page will report an error, and the project was running normally before)
the npm run dev page is displayed normally without any error, and the function is normal

. The situation after

npm run build is as follows:

Page console

clipboard.png

clipboard.png

clipboard.png
build

clipboard.png

clipboard.png
the above prompt has been available all the time, and the page can be accessed normally.
the problem now is that there is no error message, and I don"t know how to modify

.
Feb.28,2021

estimate that your route is in history mode.


vue npm run build needs to be placed in the server environment to see

Menu