Skip to content
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

Doesn't work with vue3 + fetch + passthrough #1094

Open
dodalovicgran opened this issue Oct 28, 2023 · 2 comments
Open

Doesn't work with vue3 + fetch + passthrough #1094

dodalovicgran opened this issue Oct 28, 2023 · 2 comments

Comments

@dodalovicgran
Copy link

Is this intended to work?

@DMOShare
Copy link

I am having issues in vue3 (nuxt3) using useFetch, even without passthrough. I was able to make it work with Nuxt 2 + nuxt/axios... can't figure out why it doesnt work on recent versions.

@EdvaldoLima
Copy link

I have the same problem, when using the fetch API, it works normally, however, when using $fetch or useFetch, miragejs cannot intercept the call, what may be happening is that $fetch and useFetch have SSR processing and miragejs probably does not knowing how to deal with this, only client-side calls, with fetch API or axios can and are being intercepted.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants