Documentación offline Nuxt main

NUXTE3009

main Documentación oficial Licencia MITDescargado el 2026-08-02

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"} ::