Home > other >  404 jump problem Vue routing hash mode
404 jump problem Vue routing hash mode

Time:12-31


Project using the vue - routed the router using the hash pattern jump,
Using http://localhost:80/#/11 can normal jump to a custom 404 page,
Use http://localhost:80/11#/is positioning to the Apache Tomcat's 404 blank pages
Consult everybody how to solve this problem, can only use history method??

CodePudding user response:

Hash is to use the "#", the second you obviously wrong ah, with the history need to backend configuration, or write a node middle, get requests to follow to the index, HTML, and, of course, this is a production environment,

CodePudding user response:

Ok, thank you,,,,,,,,

CodePudding user response:

Can you tell me the solution?
  • Related