useAsyncData
This example shows how to use useAsyncData 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 Async Data.
Read more in Docs > Getting Started > Data Fetching.