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

krobus's avatar

SSR server not rendering HTML (Inertia JS)

Hello. I got the SSR process to run, but it doesn't seem to work when I test it locally (doesn't generate any HTML when Javascript is disabled). It's showing some warnings whenever the site is loaded that I don't think are normal:

[Vue warn]: Invalid prop: type check failed for prop "initialComponent". Expected Object, got Function

[Vue warn]: [@vue/server-renderer] Invalid VNode type: undefined (undefined)

Using Laravel 9.19, Vite 2.9, Vue 3.2, Inertia 0.11.

I've been following the instructions on the InertiaJs official website (although I had to change some paths to make it work).

0 likes
0 replies

Please or to participate in this conversation.