Reputation: 177
I have string of byte base64
let string = 'UEsDBBQABgAIAAAAIQBi7...'
How should I do, if I want download the file from the byte base64 in vue js
Thanks, any solution is so help me :')
Upvotes: 1
Views: 4134
Reputation: 1730
i found this nice library https://github.com/rndme/download
you just import this in you library and then
download("data:image/gif;base64,R0ln5+......n4/+oMSAAOw==", "dlDUrlBin.gif", "image/gif");
let me know if is useful
Upvotes: 2