Documentación offline Nuxt main

NUXTE3008

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

En esta página

E3008#

useAsyncData() was called without a valid key. The first argument must be a non-empty string so Nuxt can cache and deduplicate the request across components.

Resolution#

const { data } = useAsyncData('users', () => $fetch('/api/users'))

::read-more{to="/docs/api/composables/use-async-data"} ::