Nuxt · NUXT0064
Avoid VueUse names that collide with Nuxt auto-imports
Flags nuxt auto import collision in VueUse project code before it leaks into runtime behavior.
Run this rule
pnpm nuxt doctor --rules vueuse/no-nuxt-auto-import-collision
Why it matters
Auto-imports are global within a project. Explicit names and imports prevent local code from shadowing framework composables.
Recommended fix
Remove nuxt auto import collision, or move it to the VueUse runtime/API that owns that behavior.
Useful links
Example
Alias VueUse Nuxt collisions
Before
import { useFetch } from '@vueuse/core'
const response = useFetch('/api/user')
After
import { useFetch as useVueUseFetch } from '@vueuse/core'
const response = useVueUseFetch('/api/user')