async fileDownload() { const url = '/download/file'; const res = await axios.get(url, { headers: { responseType: 'arraybuffer' } }); }
출처 :: https://soobakba.tistory.com/30