我有laravel (rest )和react/js应用程序(客户端)。我想把他们部署到heroku。把它们放到一个git回购和部署中就可以达到这个目的了?我试图使用后安装脚本,但它没有工作。添加了nodeJS buildpack (服务器上安装的节点),但是看起来Laravel覆盖的内容使用Sorry, the page you are looking for could not be found
Blocked: The Same Origin Policy disallows reading the remote resource at http://127.0.0.1:5173/resources/js/app.js.我的composer.json "name": "laravel/laravel", &qu