[Vuejs]-Image upload via gallery images or input file in VueJS

0👍

Put your gallery images in array and @click set image src to selected image

<li v-for="img in gallery">
  <img :src="img" @click="selected_iamge=img" >
</li>

Here is Codepen sample

Leave a comment