useFetch
This example shows how to use useFetch to fetch data from an API endpoint.
💡
Nuxt will automatically read files in the ~/server/api
directory to create API endpoints.
👉
Read more in Docs > API > Composables > Use Fetch.
👉
Read more in Docs > Getting Started > Data Fetching.