[Vuejs]-Generate pdf file using Laravel as Api and Vue as a Client

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.

-1👍

i handled this by generating link with pdf file

Leave a comment