vue-markdown icon indicating copy to clipboard operation
vue-markdown copied to clipboard

Doesn't update when content change

Open c0dezli opened this issue 8 years ago • 2 comments

When I have something like this <vue-markdown>{{post.description}}</vue-markdown> And {{post.description}} changes, VueMarkdown won't hot update, any solutions?

c0dezli avatar Sep 13 '17 03:09 c0dezli

<vue-markdown v-bind:source="post.description"></vue-markdown>

tmdevde avatar Sep 13 '17 13:09 tmdevde

just in case someone is facing this problem and its using JSX, just remove v-bind and use source like any other attribute

<vue-markdown source={post.description}>{post.description}</vue-markdown>

v1siond avatar Jul 01 '19 05:07 v1siond