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

Jijiri89's avatar

Laravel inertia vuejs 3 project to cloudways

Hello everyone. Kindly help me with this. I have created laravel and vuejs project with Jetstream. It works greatly on the local machine but when I deployed it to cloudways, it is only the following is displaying in the browser.: @routes @inertiaHead @inertia

I ran npm install and npm run build but still not working. I ran composer install over and over but still not working.

0 likes
1 reply
AdrianColom's avatar

Cache Error

I had the same problem and I thought of something that worked. I have seen that when doing php artisan serve, changing the env variables was not updated so I found that the env config was cached. (On deploy cloudways runs cache commands) In short run this command to clear the cache:

php artisan optimize:clear

And if you want to re-cache

php artisan optimize

Please or to participate in this conversation.