[Bug]: Don't work with api #3540
Unanswered
seriiserii825
asked this question in
Q&A
Replies: 2 comments
-
You either have to redirect the user to the download endpoint so the browser can handle the download response, or return |
Beta Was this translation helpful? Give feedback.
0 replies
-
Thank you.
But i preferred to take db array from laravel, and convert to csv in vue.
чт, 17 февр. 2022 г. в 17:48, Patrick Brouwers ***@***.***>:
… You either have to redirect the user to the download endpoint so the
browser can handle the download response, or return Excel::raw() and
handle the download via Vue (
https://stackoverflow.com/questions/58024246/how-download-excel-file-in-vue-js-application-correctly
)
—
Reply to this email directly, view it on GitHub
<#3540 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AE6SBJSGS6IXLTECOYU7ZL3U3UKDNANCNFSM5OVCPBXQ>
.
Triage notifications on the go with GitHub Mobile for iOS
<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
or Android
<https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
You are receiving this because you authored the thread.Message ID:
***@***.***
com>
--
*С уважением Бурдужа Сергей. *
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Is the bug applicable and reproducable to the latest version of the package and hasn't it been reported before?
What version of Laravel Excel are you using?
3.1
What version of Laravel are you using?
7
What version of PHP are you using?
7.3
Describe your issue
I am using vue js and api, but don't use blade.
This is my routes.
And when i open the page /admin/csv, i have a method getCsv
And this is my Index.vue
And controller index.
How can the issue be reproduced?
When open the page, start download csv file.
What should be the expected behaviour?
When open the page, start download csv file.
Beta Was this translation helpful? Give feedback.
All reactions