Hacker News new | ask | show | jobs
by sne11ius 2901 days ago
I haven't used nuxt, but this vuejs component "hides" the wrapped component during server render:

https://github.com/egoist/vue-no-ssr

Regarding the "client/server render results do not match" issues: Fixing these is mostly easy in my experience, especially since vue will log the offending dom nodes to the dev console.

1 comments

To clarify, this is not quite what I am looking for.

My challenge is that I don't want everything to be rendered on the client. I only want very specific things to be client rendered and nuxt does not have a way to do this (I think).

The no-ssr thing is the opposite of the functionality that I would like. I want to have the ability to declare which pieces are only server rendered and sprinkle in in client-side rendering where it makes sense.