cube-studio icon indicating copy to clipboard operation
cube-studio copied to clipboard

前端frontend单独启动,在setupProxy里面配置了后端服务的url。但是点击登录进去就白屏了,这是咋回事,后端是部署在另一台电脑上。

Open heyu3913 opened this issue 10 months ago • 1 comments

如题

heyu3913 avatar Apr 02 '25 09:04 heyu3913

查看控制台报错,如果是 bundle.js:7975 <Router basename="/frontend/"> is not able to match the URL "/frontend" because it does not start with the basename, so the <Router> won't render anything. 那就是需要访问http://localhost:3000/frontend/ ,注意斜杠

sreindo avatar Aug 13 '25 10:08 sreindo