How to enable Inertia on CLoudways

63 Views Asked by At

i have just created my first Laravel Inertia Vue 3 application. However, I encountered problem when hosting it to Cloudways. After i configured everything and try to launch my application it only display this image shown below

enter image description here

I don't know why it won't run my inertia

can someone tell me what to do?

1

There are 1 best solutions below

0
CalaSanao On

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. In short run this command to clear the cache:

php artisan optimize:clear

And if you want to re-cache

php artisan optimize