[Vuejs]-Searching with input

0👍

Your line

            <a href={{ searchResult.href }}><img src={{ searchResult.img }}>

should be

           <a :href="searchResult.href"><img :src="searchResult.img">

See How to solve Interpolation inside attributes has been removed. Use v-bind or the colon shorthand ? Vue.JS 2

👤Roy J

Leave a comment