Skip to content

Commit

Permalink
Update docs/3.api/3.utils/$fetch.md
Browse files Browse the repository at this point in the history
Co-authored-by: Alex Peshkov <1alexpeshkov@gmail.com>
  • Loading branch information
Ibochkarev and mnenie authored Jul 2, 2024
1 parent 82fcf7a commit ef4a10e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/3.api/3.utils/$fetch.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ const dataTwice = await $fetch('/api/item')
// Во время SSR данные извлекаются только на сервере и передаются клиенту.
const { data } = await useAsyncData('item', () => $fetch('/api/item'))
// Вы также можете использовать useFetch в качестве шорката для useAsyncData + $fetch
// Вы также можете использовать useFetch в качестве шортката для useAsyncData + $fetch
const { data } = await useFetch('/api/item')
</script>
```
Expand Down

0 comments on commit ef4a10e

Please sign in to comment.