Jul 30, 2023
0
Level 1
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).
Please or to participate in this conversation.