You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I use this package and it worked well with hydration and async componnets. But can i exclude some async components, from initial html scripts? I have NavBar with some only mobile and only desktop elements, but nuxt load all of them(hydration work as expected)
The text was updated successfully, but these errors were encountered:
If you go to page link, you can see script /_nuxt/tutorial-lazy.js in ssr html, but component async
I know that vue-lazy-hydration not call it, check it in console.
For some components it work as expected(load only when trigger hydration)
So you are looking for a way to tell vue-server-renderer to not automatically render some async scripts. This is being disscussed (since a long time 😄 ) in this issue and this PR
I use this package and it worked well with hydration and async componnets. But can i exclude some async components, from initial html scripts? I have NavBar with some only mobile and only desktop elements, but nuxt load all of them(hydration work as expected)
The text was updated successfully, but these errors were encountered: