Open Kolobok12309 opened 3 years ago
This issue is more related to vue-server-renderer
which Nuxt.js depends on. If an async script is used on the server when rendering the page, vue-server-renderer will automatically inject it into the HTML.
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)