2👍
✅
Use v-bind directive:
<img v-bind:src="travel.city">
Or short:
<img :src="travel.city">
Hope this will help you 🙂
1👍
Try using the syntax for attribute binding instead:
<img class="card-img" :src="travel.city" alt="Card image">
Vue doesn’t support interpolation of mustache-style templates in attributes (like Angular or other frameworks do).
Source:stackexchange.com