-
Notifications
You must be signed in to change notification settings - Fork 33
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
<NuxtLoadingIndicator> and useLarafetch / $larafetch #36
Comments
yo bro my self noob too but this somehow works:
|
thank's man, i'll give it a try soon ! |
Hello @amrnn90 ,
I'm trying to make the NuxtLoadingIndicator to be work with useLarafecth / $larafetch, so I can get the laoding progress shown for each fetch request to the Breeze API.
Due to the nature of NuxtLoadingIndicator itself, seems like the solution for now is to add hook call for fetch options to the event of
onRequest and onResponse, as being mentioned in this example
nuxt/nuxt#14221 (comment)
Been tried to add such options in useLaraftch / $larafetch to no avail, So if you can direct me to where should I add those options to useLarafecth / $larafetch, that would be helpful.
Pardon for any unclear explanation or misconception, since I'm very noob for this frontend Vue/Nuxt things 🙏
The text was updated successfully, but these errors were encountered: