Vue: v-show doesn't not work for components on server-side rendering

Created on 21 Mar 2017  ·  4Comments  ·  Source: vuejs/vue

Version

2.2.4

Reproduction link

https://github.com/fenivana/ssr-v-show-issue

Steps to reproduce

npm install
node server.js

What is expected?

<div server-rendered="true"><div style="display:none">hello world</div></div>

What is actually happening?

<div server-rendered="true"><div>hello world</div></div>
bug

Most helpful comment

looks fixed via #5224
ping @Akryum @znck

All 4 comments

package.json is missing in repro.

looks fixed via #5224
ping @Akryum @znck

@znck Sorry, my fault. Added.

Apparently fixed in #5224. If it persists, reopen the issue.

Was this page helpful?
1 / 5 - 1 ratings