I want to show the image of the corresponding user in my table. But when i do a v-for it only shows the image name in a string format in the table. How could i show the image rather than the text itself? Because in laravel blade i can do a foreach loop and it shows the image directly. What should I do? Thanks a lot
My axios code and v-for
<tr v-for="teacher in teachers" :key="teacher.id"> <td>{{teacher.id}}</td> <td>{{teacher.image}}</td> </tr> methods:{ getTeachers(){ axios.get('getTeachers') .then((res)=>{ this.teachers = res.data }) .catch((e)=>{ console.log(e) }) } } 

<img src="...<tr v-for="teacher in teachers" :key="teacher.id"><td>{{teacher.id}}</td> <td><img src = " {{teacher.image}} " ></td></tr>