tserkov/vue-scroll-reveal

SSR with Nuxt

mesqueeb opened this issue · 2 comments

The docs say:

"If using as a plugin with Nuxt be sure to disable server side rendering in nuxt.config.js."

Will this mean that all content which is wrapped with v-scroll-reveal will not be server side rendered?

That tip was provided by a contributor who used this library in Nuxt (see issue #3 and PR #8), so I can't speak to it's effect. I would personally hope that disabling just this library from SSR would only disable the reveal logic, not necessarily the (non-)rending of the element(s).

But, please, give it a try in your environment and let me know what you discover!

@tserkov It seems the content is properly loaded with pre-rendered content, even though ssr is disabled just for the plugin.
Congratulations on the great wrapper you wrote! You rock!