I have tried looking around for an answer but all firebase download topics seem to be about just getting the download link from storage to display. I saw a similar one but it was in ios/swift and I didn't grasp it.
My question is if I already have the link and I am using it. How can a user click on a button and it will locally download on their computer?
I thought the would work but it just takes me to the image.
My download storage link from firebase are currently stored in my vuex store. I then access the url and other properties by pushing them to an array that is why the href is "card.imageurl[0]
<a @click="download" :href="card.imageurl[0]" class="download" download><i class="material-icons">cloud_download</i></a>
I appreciate any help hopefully this is not a duplicate but I have tried looking around for a while on this.
Thanks