1👍
You can’t download files via AJAX request. File download only happens when browser navigates to a location which happens to have Content-Type
that’s downloadable. However, there’s a trick you can use. Check out this gist by javilobo8, it does exactly what you want.
- [Vuejs]-Render list from (unkown deep) multidimensional object in Vue
- [Vuejs]-VueJS "npm run build" will not create a index file in dist
-1👍
i handled this by generating link with pdf file
- [Vuejs]-What to do when the variable that enters :src becomes null?
- [Vuejs]-Cloudflare doesn't block the access to my nuxt app
Source:stackexchange.com