cube-studio
cube-studio copied to clipboard
前端frontend单独启动,在setupProxy里面配置了后端服务的url。但是点击登录进去就白屏了,这是咋回事,后端是部署在另一台电脑上。
如题
查看控制台报错,如果是
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/ ,注意斜杠