I just (re-) started my go on laravel. As a starter I am trying to follow the development of the demo application at https://bootcamp.laravel.com. I chose to use the inertia option as I would like to work with vue.
But I am stuck right at the beginning and don't know how to fix that. In the bootcamp the dev stack seems to be localhost only creating a server via 'php artisan serve'.
But I am using a dedicated (debian) server in my local network which i'd rather use. The demo tries to access localhost on various occasions which obviously does not make any sense when the server is running on another machine. So The result is always a WSOD when accessing the route in the demo. In my case it is http://www.chirper.local/chirps instead of http://localhost/chirps.
Ok, seems I am getting there slowly. "npm run dev", as I understand it, builds the necessary vue assets on the fly. Hence the attempts to access localhost? Now I have run "npm run build" which generated the assets in /public on the spot. Now the WSOD is gone.
@DingWeed Yeah exactly :) You might need some small changes if npm run dev isnt working. If it is failing, try opening the browser console and check for errors