Feb 2, 2023
0
Level 1
Vue3 Call to Controller with parameters
Trying to call an Action in a Controller to use Laravel Excel (https://laravel-excel.com/)
return Excel::download(new WEExport($po_id, $po_no), 'we.xlsx');
That's working and a Excel File is downloaded if i use a href
<a href="po/generateWe/">EXPORT</a>
If i use a inertia Call it pass into the Controller Action, all Code is proceeded but Excel File never downloads. Proplem is for shure the way i call the Action
Is there any solution how to get this with inertia or a workaround with href including an array of parameter ?
Please or to participate in this conversation.