Has anyone worked with Inertia JS and SSR? I'm trying to get SSR working on a (Laravel, Vue, InertiaJS, Vite) stack.
I've set up everything as in the interia JS SSR docs https://inertiajs.com/server-side-rendering.
As far as I can see everything is running and the SSR files are being built and I can run
php artisan inertia:start-ssr fine and the app is accessible and working as expected.
However, SSR is not working. ie: view-source:http://domain.test is not returning a SSR version of the app.
One thing I noticed is that although php artisan inertia:start-ssr command works:
php artisan inertia:stop-ssr returns the error - Unable to connect to Inertia SSR server.
I've tried running the app in SSR both locally and remotely, the app renders as expected but no SSR. Any ideas on what I'm missing?