-
一个前后端分离的项目, 配置了以下的 proxy, 测试的时候在 8000 端口可以正常得输入 url 跳转到对应的 component
但是 yarn build 进后端项目然后本地 5000 端口跑起来的时候, 只能通过内部的 menu 进行导航, 而直接通过 url 的导航则会报 404, 请问可能的原因会是什么呢? 以及应该如何排查呢? |
Beta Was this translation helpful? Give feedback.
Answered by
xj-m
Apr 22, 2021
Replies: 1 comment
-
config 里面添加 |
Beta Was this translation helpful? Give feedback.
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
config 里面添加
history: "hash"
就解决了