Search
Setup for Free
N
Nuxt
•
2y ago
😖
How do I encapsulate useFetch and $fetch
I want to set a unified request domain name and a unified interface exception handling
, how useFetch and
$fetch are wrapped can be similar to the interface interceptor of axios
Nuxt
Join
Nuxt Community Chat Server
31,876
Members
View on Discord
Similar Threads
Was this page helpful?
Yes
No
© 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
No replies yet
Be the first to reply to this message
Join
Similar Threads
useFetch && $fetch
N
Nuxt / ❓・help
2y ago
Docker nuxt $fetch and useFetch
N
Nuxt / ❓・help
14mo ago
useFetch vs $fetch
N
Nuxt / ❓・help
2y ago