In this example, a custom instance of ofetch is created in the /utils directory.
This instance is made available in the application context :
through the plugin ~/plugins/app-fetch.ts (const { $appFetch } = useNuxtApp())
through the composable useAppFetch.
We use cookies
We use cookies to analyze traffic and improve your experience. You can accept or reject analytics cookies.