miaolz123 / vue-markdown

A Powerful and Highspeed Markdown Parser for Vue
https://miaolz123.github.io/vue-markdown/
MIT License
1.89k stars 257 forks source link

Delayed rendering in Nuxt.js - is there a way to not rerender on the client side? #62

Open emdahlstrom opened 6 years ago

emdahlstrom commented 6 years ago

Hi, I'm having trouble with content in the markdown component rendering after other content in a nuxtjs app.

The issue likely stems from the component rerendering the content on the client side even though it is already rendered on the server side.

Is there a way for the component to not clear and rerender if it is already rendered? Maybe something about the context or what lifecycle hook it depends on?

All the best, Em

hartmut-co-uk commented 4 years ago

see answer provided here: https://github.com/miaolz123/vue-markdown/issues/116#issuecomment-601696059