Home

Issue: 2582

noscript Tag

[issue link]

If i add a noscript tag i get a warning. In the compiled version i get a js error message.

“The client-side rendered virtual DOM tree is not matching server-rendered content. This is likely caused by incorrect HTML markup, for example nesting block-level elements inside

, or missing

. Bailing hydration and performing full client-side render.”

I have tried to add this to a plugin file, but it do not work.

Vue.config.ignoredElements.push('noscript');

This question is available on Nuxt.js community (#c2247)