Vue2.0, web page visits are displayed normally in dev environment, but after build, when visiting the page, all 404NotFound errors are reported.

I developed a music APP project with vue2.0, and the page access was normal in development mode, but there was a 404 error when accessing the dist/index.html file after build came out, and I struggled with it for many days.
Note in advance: I changed my port to 8087.
clipboard.png


clipboard.png


clipboard.png

clipboard.png

clipboard.png


clipboard.png


clipboard.png


clipboard.png

     Vue
     Vue
     








Mar.20,2021

json file is placed in the static directory to see

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