vuejs / vue-hackernews-2.0

HackerNews clone built with Vue 2.0, vue-router & vuex, with server-side rendering
MIT License
10.96k stars 2.15k forks source link

Attribute (data-server-rendered="true") missing #362

Open cian6390 opened 5 years ago

cian6390 commented 5 years ago

I check the Live Demo, and I found
the dom of (id-#app) missed attribute data-server-rendered="true"
does it means hybrid failed ?

nineDaysFe commented 5 years ago

I have the same problem, the server output has the attribute data-server-rendered="true", but after the client re render the attribute data-server-rendered="true" missed.

edugrip commented 5 years ago

lol.. it does have, though what I guess is you are looking for it in the inspector window. rather you must see it in the view-source. :)

cian6390 commented 5 years ago

lol.. it does have, though what I guess is you are looking for it in the inspector window. rather you must see it in the view-source. :)

nm … did you mean I need check page raw network response and the element tree will remove the attribute after hybrid ?