Category: vue.js

Download a zip file using Blob – javascript

i have the folowing code to download my zip file but it didn’t work dou you have any idea please ? api.facturation.Chorus(formData) .then((response) => { console.log(response.data) var blob = new Blob([response.data], { type: ‘application/octet-stream’, }); console.log(blob); FileSaver.saveAs(blob, `export-chorus.zip`); }) I…