When vue is deployed to tomcat, you can visit the home page of Jump Route to report 404 bosses [hold fists]

npm run dev

tomcat
but jump to the login page and report 404

Mar.25,2021

can you switch the route to a hash route and try again? That is, localhost:8080/-sharp/login


if the mode of vue-router is configured with history, The backend should also be configured accordingly: ide/essentials/history-mode.html-sharp%E5%90%8E%E7%AB%AF%E9%85%8D%E7%BD%AE%E4%BE%8B%E5%AD%90" rel=" nofollow noreferrer "> reference link


routes in history mode can only be accessed through route redirection, not by modifying url. Need to configure the backend server or change it to hash mode


Boss to find a solution

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