Skip to content

How to use Laravel API Resources with Inertia? #1302

Discussion options

You must be logged in to vote

Found the answer in the documentation https://laravel.com/docs/9.x/eloquent-resources#data-wrapping
Weird, I haven't had to change the AppServiceProvider for this before..

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@darthsoup
Comment options

Answer selected by AlexKomMsk
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants