If your compiled assets are not included in your VCS, then you will need to build the assets as part of the deployment process using npm run prod
Dec 14, 2020
3
Level 3
Laravel jetstream (inertia). Problems on deploy
I've developed a very simple project with laravel jetstream using inertia as stack. Everything is fine and works like a charm, but when I tried to deploy the project in production I've got lots of errors mainly with the routes The home page is loaded correctly but when I click the login link it fails to open the login form but it is redirected to home. If I force the login writing the url manually it seems it cannot find app.js and app.css files. that are present. I don't know what's going on
There are special operations to do during the deploy with jetstream?
Please or to participate in this conversation.