How to download an image into phone gallery using VueJs?

I am trying to download an image from server using web apis and wan to store the image into phone gallery. I have already tried an example using axios api calls, but its not working. Thanks!