InertiaJS and SSR
Hello,
I never used SSR and I don't understand the documentation about SSR.
https://inertiajs.com/docs/v3/advanced/server-side-rendering#manual-setup
The Vite plugin reuses your app.js entry point for SSR by default, so no separate file is needed. Most customizations may be handled using the withApp callback.
=> no need to add another file than the base app.js file
https://inertiajs.com/docs/v3/advanced/server-side-rendering#deployment
When deploying your SSR enabled app to production, you’ll need to build both the client-side (app.js) and server-side bundles (ssr.js), and then run the SSR server as a background process, typically using a process monitoring tool such as Supervisor.
=> need to add the SSR file
It's contradictory.
What is really needed ?
Can you help me please ?
Thanks for your help.
V
Please or to participate in this conversation.