How do auto-imports work in Nuxt?
javascript
// No imports needed!
<script setup>
// Auto-imported from composables/
const { data } = await useFetch("/api/users");
const route = useRoute();
// Auto-imported from components/
</script>
<template>
<UserCard /> <!-- Auto-imported -->
</template>Short Answer
Interview readyPremium
A concise answer to help you respond confidently on this topic during an interview.