@user1980 Installed a fresh copy of Laravel, installed Breeze w/ Inertia... created an endpoint that returns a json response... created an axios call... annnnnd... it works just fine.
How to do a simple axios request with Breeze or Jetstream? Inertia bug?
Hi all,
I find zero help on this and I am stuck with the issue for 1 week. Hope to find someone with an answer :-(
It is impossible for me to do any normal Axio calls from vue when Inertia is installed.
ie: In vue you try to call the back end to communicate with an API.
With Laravel you would usually return this: return response()->json($data);
In the front end in vue you would get the response from the axios.get request and that's it.
But when Inertia is installed, none of this work....any idea why?
Could someone please try? ie: install Jetstream or Breeze and try an axios get with a json object as a return. I see many people with the same issue, I don't get it.
Thanks!
Please or to participate in this conversation.