#Convert Server-side App to Client-side?
1 messages · Page 1 of 1 (latest)
The SSR server is only used for the initial html response, it's still also rendered client side
Could you be a bit more descriptive. I do not understand the meaning of: Just don't run the SSR server, that's it.
So, Inertia SSR is not actual SSR?
Should I maybe use Nuxt.js for those routes I want to run as SSR?
From the docs;
Server-side rendering pre-renders your JavaScript pages on the server, allowing your visitors to receive fully rendered HTML when they visit your application.
Because of how Inertia works, then the client hydrates from the rendered html and the frontend framework takes over again, follow-up requests would just be XHR requests with Inertia (JSON) responses
You can see what happens and how it works by inspecting your web page, see the responses, the requests etc
Ok, make semse now. Thank you!
One last question regarding this, could using Nuxt.js be a solution for some routes where I want to use SSR?
Example: https://www.myself.ae/dubai_mall/stores/alaia/view/115
I would say so, yes
So Vue for backend/Dashboard and Nuxt.js for frontend?
Ive done project like this, yes
I do have this frontend nuxt project on Github, it wont work for you as you are gonna have different api routes but I would say its a good start if you would want it just let me know
Yes, please. That will help a lot.