Open alexander-schranz opened 1 year ago
https://inertiajs.com/
Inertia itself requires a Response object to be returned instead of a string. As based on the request method it will return HTML or JSON.
https://github.com/inertiajs/inertia-laravel/blob/b00fe8cf741766b41de69978f9e90ee6d1470d36/src/Response.php#L106-L110
So I think support for Inertia is not possible in this case.
https://inertiajs.com/