NUXTE3009
En esta página
E3009#
useAsyncData() was called without a handler function. The handler is the function that performs the fetch and returns the data, so it cannot be omitted or of another type.
Resolution#
const { data } = useAsyncData('users', () => $fetch('/api/users'))
::read-more{to="/docs/api/composables/use-async-data"} ::