Description
Environment
- Operating System: Linux
- Node Version: v22.12.0
- Nuxt Version: 3.16.2
- CLI Version: 3.24.1
- Nitro Version: 2.11.9
- Package Manager: [email protected]
- Builder: -
- User Config: icon, modules, vite, compatibilityDate
- Runtime Modules: @nuxt/[email protected]
- Build Modules: -
Version
v2.21.1
Reproduction
https://stackblitz.com/edit/nuxt-ui-madkemfz?file=components%2FBreadcrumb.vue
The web IDE doesn't exhibit the exact issue because (I assume) it's not running vue-language-server & co - however I do see a ERROR [unhandledRejection] too much recursion
which is probably related... ?
Description
Hello!
I am getting a seemingly-duplicate of vuejs/language-tools#4230 by having my own components/Breadcrumb.vue
component.
Everything works as expected if I rename it to components/Breadcrumbs.vue
- note the extra s
- or, I assume, any other name that doesn't clash with Nuxt UI's internal component naming scheme.
See attached screenshots. I'm not certain this is a bug in Nuxt UI, and I also don't know whether this also happens with Nuxt UI v3, but I figured I'd file an issue to save the next poor soul like me who doesn't know where the issue comes from. :-)
Dependencies versions:
devDependencies:
@nuxt/ui 2.21.1
@vue/typescript-plugin 2.2.8
nuxt 3.16.2
typescript 5.8.3
vue 3.5.13
vue-router 4.5.0
Cheers!
Additional context
Logs
Definitions of the following identifiers conflict with those in another file: __VLS_intrinsicElements,
__VLS_directiveBindingRestFields, __VLS_unref, __VLS_IntrinsicElements, __VLS_Element, __VLS_GlobalComponents,
__VLS_GlobalDirectives, __VLS_IsAny, __VLS_PickNotAny, __VLS_WithComponent, __VLS_FunctionalComponentProps,
__VLS_IsFunction, __VLS_UnionToIntersection, __VLS_OverloadUnionInner, __VLS_OverloadUnion,
__VLS_ConstructorOverloads, __VLS_NormalizeEmits, __VLS_PrettifyGlobal, __VLS_PickFunctionalComponentCtx,
__VLS_UseTemplateRef
EDIT: Added the exact error message as "Logs", mostly for SEO.