Skip to content

前后端分离, 设置了 proxy 且 build 之后, 通过 url 的跳转报 404 #6438

Answered by xj-m
xj-m asked this question in Q&A
Discussion options

You must be logged in to vote

config 里面添加 history: "hash" 就解决了

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by xj-m
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant