Artist201
Artist201
NNuxt
Created by Artist201 on 2/19/2025 in #❓・help
usefetch detect redirects globaly ?
@kapa.ai am looking for the original page url for exmaple of the "/home" page request an ajax to "/user" how to know the "/user" request is coming from the "/home" page ?
73 replies
NNuxt
Created by Artist201 on 2/19/2025 in #❓・help
usefetch detect redirects globaly ?
@kapa.ai doesn't this exist in the request normally ? without the need of adding a header?
73 replies
NNuxt
Created by Artist201 on 2/19/2025 in #❓・help
usefetch detect redirects globaly ?
it is working now following but how can i get the url of the page that launched the ajax request and redirect to it ? @kapa.ai
73 replies
NNuxt
Created by Artist201 on 2/19/2025 in #❓・help
usefetch detect redirects globaly ?
@kapa.ai is beforeFetch available in usefetch ? what is your source
73 replies
NNuxt
Created by Artist201 on 2/19/2025 in #❓・help
usefetch detect redirects globaly ?
@kapa.ai now inside the onresponse function am seeing a response of time opaqueredirect and not the correct response
73 replies
NNuxt
Created by Artist201 on 2/19/2025 in #❓・help
usefetch detect redirects globaly ?
for redirecting this doesn't work due to usefetch following the redirect before onResponse function. how to fix that ? @kapa.ai
73 replies
NNuxt
Created by Artist201 on 2/19/2025 in #❓・help
usefetch detect redirects globaly ?
@kapa.ai still same issue
73 replies
NNuxt
Created by Artist201 on 2/19/2025 in #❓・help
usefetch detect redirects globaly ?
@kapa.ai navigateTo is not changing the page, while the request is made the page doesn't change
73 replies
NNuxt
Created by Artist201 on 2/19/2025 in #❓・help
usefetch detect redirects globaly ?
show me a full exampl with the custom usefetch composable @kapa.ai
73 replies
NNuxt
Created by Artist201 on 2/19/2025 in #❓・help
usefetch detect redirects globaly ?
@kapa.ai how should i send the redirect from the server ?
73 replies
NNuxt
Created by Artist201 on 2/19/2025 in #❓・help
usefetch detect redirects globaly ?
@kapa.ai how would suggest a usefetch wrapper then ?
73 replies
NNuxt
Created by Artist201 on 2/19/2025 in #❓・help
usefetch detect redirects globaly ?
@kapa.ai is there a 'fetch' hook to attach to ?
73 replies
NNuxt
Created by Artist201 on 2/19/2025 in #❓・help
usefetch detect redirects globaly ?
@kapa.ai this is not an acceptable solution. is there a nuxtapp hook that i can attach to as a plugin to intercept all usefetch responses ?
73 replies
NNuxt
Created by Artist201 on 2/19/2025 in #❓・help
usefetch detect redirects globaly ?
@kapa.ai am using usefetch and not $fetch
73 replies
NNuxt
Created by Artist201 on 2/19/2025 in #❓・help
component attribute automatically passed without a v-bind="$attrs"
@kapa.ai the correct answer is defineOptions({ inheritAttrs: false }) but thank you, you got me closer to it
9 replies
NNuxt
Created by Artist201 on 2/19/2025 in #❓・help
component attribute automatically passed without a v-bind="$attrs"
the correct answer is defineOptions({ inheritAttrs: false }) but thank you, you got me closer to it
9 replies
NNuxt
Created by Artist201 on 12/16/2024 in #❓・help
pages with usefetch causes browser tab crash on fast (back/forward) actions
@kapa.ai nuxt-link actually works fine, the issue is when the browser back and forth buttons are clicked
10 replies
NNuxt
Created by Artist201 on 11/20/2024 in #❓・help
Global middleware only runs once on client side ?
@kapa.ai there is nothing called route.meta.statusMessage
15 replies
NNuxt
Created by Artist201 on 11/20/2024 in #❓・help
Global middleware only runs once on client side ?
@kapa.ai how can i also pass a message to the frontend ? and how can the frontend recieve it ?
15 replies
NNuxt
Created by Artist201 on 11/20/2024 in #❓・help
Global middleware only runs once on client side ?
why do i have to use a plugin ?? why isn't the middleware working on every route change
15 replies