thanks for this article. I am interested in making my Laravel app quick to render (client-side), but SEO is super-important so I need SSR.
What are your thoughts on inertiajs vs nuxt vs github.com/spatie/laravel-server-s...?
inertiajs, in case you are unfamiliar:
I just havent gone deep enough to see if SSR works with inertia.
I really like the idea of inertiajs, have been playing around with a while ago as well. But not sure if it is production ready yet, it's rather new. As far as I know though, the DOM will still be rendered through JS. With that in mind I would go with nuxtjs. Nuxt also provides more benefits than just SSR, you will get a proper battery included vue framework.
The solution I used for this article was only because I already had an app and couldn't afford to rewrite it with Nuxt.
Makes a lot of sense @michael
I'm biting the bullet and going with Nuxt (As painful as it is).
Cheers and you have a new github follower.
Hi Michael, thansk for sharing. That is all some piece of work. Question: what is the reason to SSR with Vue/Node while you have PHP/Laravel for the same SSR at hand? What issue did you resolved with SSR-ing Vue while having SSR capabilities of PHP?
We are basically following this approach.
And here is an indepth video.
setting up V8js is a hell process. I have been trying to implement it but its far more complicated.
In my research regarding v8js, the setup looked more complicated.
Actually the PHP dependency supports both Node and v8js.
Have you looked into rendertron?
We're a place where coders share, stay up-to-date and grow their careers.
We strive for transparency and don't collect excess data.