Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

Lordbedwetter's avatar

Issues with Rendering on Deployed Project

I just deployed a laravelphp, inertiajs and vuejs project on Forge. Auto deploy is setup and is deploying on push. That being said, the Welcome page is supposed to be rendered on '/', but it isn't https://github.com/EdwardKingAlexander/portfolio-vue

Is my repo. Anyone have any idea what I'm doing wrong? It works fine in my development environment, just not on my deployed website

0 likes
3 replies
tykus's avatar
tykus
Best Answer
Level 104

Do you run npm install && npm run prod on deployment???

Lordbedwetter's avatar

@tykus I did not. I thought it was ran automatically when installed through Forge.

How exactly do I do that? Do I just need to add the commands to my deploy script?

Lordbedwetter's avatar

@tykus Maybe this was changed with the update with Forge, maybe I just never seen the command tag. I ran both commands and my issue was fixed. Thank you for pointing that out. I have deployed several projects in the past with Forge and don't remember ever having to run them.

Please or to participate in this conversation.