[Vuejs]-How can this code be implemented in vue 2.0?

2👍

v-bind:href=" 'http://en.wikipedia.org/?title=' + obj.title "

Basically, what is provided in v-bind must return a valid Javascript value. In this case, it’s String. Or it could also be Integer, Boolean, Function, Array, Object, …

Leave a comment