maoberlehner / vue-lazy-hydration

Lazy Hydration of Server-Side Rendered Vue.js Components
MIT License
1.18k stars 52 forks source link

Does this work for Nuxt’s Static Generation mode? #44

Closed simonhrogers closed 4 years ago

simonhrogers commented 4 years ago

I’m very sorry for the stupid question – I can’t tell if this would work as described when an app is static generated using Nuxt.

I have an excessive number of DOM elements on my page and I want to reduce the amount of JS required on initial page load. As far as I can tell, even in Static Generation mode, Nuxt still has to render pages in a manner which would make vue-lazy-hydration beneficial. Is this incorrect?

Guidance much appreciated

maoberlehner commented 4 years ago

Yes, this works perfectly fine with nuxt generate