The dist of vue is deployed to java webapp and the page can be accessed, but the request for non-static resources is reported to 404.

like this, I"m learning https://github.com/PanJiaChen., and then I want to publish this front end to java"s webapp and deploy it to the server
clipboard.png

404

clipboard.png


clipboard.png

.

what"s wrong with this?

Jul.09,2021

Vue Router? is used You need to use hash mode, or adjust the path matching at the backend:

ide/essentials/history-mode.html" rel=" nofollow noreferrer "> https://router.vuejs.org/zh/g.

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