docs: add link to custom useFetch example (#30629)

This commit is contained in:
Maxime Pauvert 2025-01-16 14:28:15 +01:00 committed by GitHub
parent f277030e71
commit 3bab4d1170
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -116,6 +116,8 @@ export function useAPI<T>(
This example demonstrates how to use a custom `useFetch`, but the same structure is identical for a custom `useAsyncData`. This example demonstrates how to use a custom `useFetch`, but the same structure is identical for a custom `useAsyncData`.
:: ::
:link-example{to="/docs/examples/advanced/use-custom-fetch-composable"}
::callout{icon="i-simple-icons-youtube" color="red" to="https://www.youtube.com/watch?v=jXH8Tr-exhI"} ::callout{icon="i-simple-icons-youtube" color="red" to="https://www.youtube.com/watch?v=jXH8Tr-exhI"}
Watch a video about custom `$fetch` and Repository Pattern in Nuxt. Watch a video about custom `$fetch` and Repository Pattern in Nuxt.
:: ::