Home

Issue: 321

The client-side rendered virtual DOM tree is not matching server-rendered content

[issue link]

As stated in the topic,

<ul class="menu">
  ...
</ul>

the code will result in “Mismatching childNodes vs. VNodes”

But when I change the ‘class’ attr for other like “class=‘menus’” and “class=‘men’”, as long as it’s not ‘menu’, it works well

<ul class="menus">
  ...
</ul>
// or
<ul class="men">
  ...
</ul>

The error information is as follows

error

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