Static GitHub Issues

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

prev: Assets use
next: Code duplication

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

<!--cmty--><!--cmty_prevent_hook--><div align="right"><sub><em>This question is available on <a href="https://nuxtjs.cmty.io">Nuxt.js</a> community (<a href="https://nuxtjs.cmty.io/nuxt/nuxt.js/issues/c278">#c278</a>)</em></sub></div>