How to load data in my component from diffent route? #844
Unanswered
devbapidey
asked this question in
Help
Replies: 1 comment
-
For these kinds of things, I recommend just using plain XHR/fetch with an endpoint that returns JSON. Not all requests/responses in an Inertia app need to be done via Inertia. Sometimes it makes sense to still use plain XHR/fetch. 👍 |
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
-
I have a form where I what to auto complete function. Autocomplete came from a different route. How to inject that data in my vue component?
Beta Was this translation helpful? Give feedback.
All reactions