The page is not being rendered ... you see something or nothing at all ?
Accessing local server on mobile without hosting
I am using a laravel/inertia(vue) app i needed to access the local server of my pc on mobile without hosting (both on the same network) i found that i can host it using this command
sudo php artisan serve --host "local ip address" --port 8000
and changed the APP_URL variable in the env file to match the url running on the locall server , on the same machine everything works the pages are being rendered normally but when i access it from my phone i am being able to access the routes and be redirected but the page is not being rendered
@maska make sure you update your apps .env file and set the APP_URL to the URL ( ex.: APP_URL=http://192.168.0.101:8000 ) that you'll be accessing from your phone. Then run npm run build && php artisan serve --port 8000
Please or to participate in this conversation.