maoberlehner / vue-lazy-hydration

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

Temporary fix (plugin?) to block sending bundles? #45

Closed Moncef12 closed 4 years ago

Moncef12 commented 4 years ago

Hello,

First of all, A great job on this component.

So, Because in vue template-renderer used by Nuxt the bundles are always sent,

Can we apply a (not necessarily pretty) workaround to remove them until this feature is supported (there is a pull request for this)?

Currently scoring green in Lighthouse is very important for us as for SEO improvement.

Thanks :)

Moncef12 commented 4 years ago

For those looking for a solution try this: https://github.com/vuejs/vue/issues/9847#issuecomment-626154095

@maoberlehner: I think it could be helpful for others if you update the repository manual.