请在这里回答/反应路由器/ heroku问题(可能是heroku失败的地方)。底线:React路由器没有在heroku上工作,我也不知道为什么。', 'build')));
// Always return the main index.html, so react-router render the route in the clientapp[web.1]: Injecting runtime
我的客户希望我使用Heroku将此项目部署到生产环境中。
我一直在寻找如何将我的Ruby on Rails和React项目部署到Heroku。不幸的是,我只能在同一个项目中找到如何使用Rails和React来实现这一点,这让我对如何将Rails和React部署到一个Heroku应用程序感到有点困惑。因为我的Rails应用程序是一个项目,而我的React是另一个项目,所以我一直在考虑在Heroku中为每个项目创建一个应