Static GitHub Issues

[2141] v-else hydrate inconsistency

prev: rc12 when released, very much looking forward to
next: Nuxt stop server

Problem

Using v-if and v-else directives to conditionally output a single root element for a component template fails if the v-else directive is attached to an HTML element, but works as expected when attached to a component.

Tested in latest Chrome, Firefox, and Safari on macOS 10.12 with Nuxt v1.0.0-rc11.

Minimal, reproducible example

https://github.com/alexcruice/nuxt-v-else

Screenshots

Render <img width="360" alt="screen_shot_2017-11-18_at_9_55_21_am" src="https://user-images.githubusercontent.com/3786095/32974042-f7c1a6d0-cc46-11e7-9e84-fa646f39f6dc.png">

Source <img width="347" alt="screen_shot_2017-11-18_at_9_55_48_am" src="https://user-images.githubusercontent.com/3786095/32974047-0a6ae468-cc47-11e7-932c-b42b3d4fa1fa.png">

Console output <img width="960" alt="screen shot 2017-11-18 at 9 57 07 am" src="https://user-images.githubusercontent.com/3786095/32974062-29dbf080-cc47-11e7-89ad-1717f8326f11.png">

<!--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/c1897">#c1897</a>)</em></sub></div>