2.5.15
Reproduction linkhttps://codepen.io/ludafa/pen/Broxxy
Steps to reproduceindex.js
with this code:const Vue = require('vue') const app = new Vue({ template: `<div :style="[{color: a, background: b}]" v-show="c">test</div>`, data() { return { a: 'red', b: 'blue', c: false }; } }) const renderer = require('vue-server-renderer').createRenderer() renderer.renderToString(app, (err, html) => { if (err) throw err console.log(html) })
<div data-server-rendered="true" style="color:red;background:blue;display:none;">test</div>What is actually happening?
<div data-server-rendered="true" style="color:red;background:blue;">test</div>
Please run the CodePen on Node
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4