Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(Link):missing relative impors again. ULinkBase #2909

Conversation

yeonjulee1005
Copy link
Contributor

@yeonjulee1005 yeonjulee1005 commented Dec 15, 2024

πŸ”— Linked issue

#2588

❓ Type of change

  • πŸ“– Documentation (updates to the documentation or readme)
  • 🐞 Bug fix (a non-breaking change that fixes an issue)
  • πŸ‘Œ Enhancement (improving an existing functionality)
  • ✨ New feature (a non-breaking change that adds functionality)
  • 🧹 Chore (updates to the build process or auxiliary tools and libraries)
  • ⚠️ Breaking change (fix or feature that would cause existing functionality to change)

πŸ“š Description

Thank you always, my friend!

#2588

I thought it was fixed with the pull request above.

However, as in the video below,
ULinkBase is missing again inside <Ulink>
When I changed Custom prefix from U to Db, occur failed resolve component again

2024-12-15.10.09.48.mov

So, I requesting it again!

[Vue warn]: Failed to resolve component: ULinkBase
If this is a native custom element, make sure to exclude it from component resolution via compilerOptions.isCustomElement.
 at <DbLink ref_for=true active=undefined activeClass=undefined  ... >
 at <Primitive as-child=false as="li" data-menu-item=""  ... >
 at <NavigationMenuItem key="list-0-45" as="li" value="45"  ... >
 at <Primitive class="isolate min-w-0 flex items-center" as-child=false as="ul"  ... >
 at <Primitive ref=fn<forwardRef> style= { position: 'relative' } >
 at <NavigationMenuList class="isolate min-w-0 flex items-center" >
 at <Primitive aria-label="Main" as="nav" as-child=false  ... >
 at <PrimitiveSlot ref=Ref< undefined > class="relative flex gap-1.5 w-full items-center justify-between lg:hidden border-b border-[var(--ui-border)] [&>div]:min-w-min overflow-x-auto" >
 at <CollectionSlot class="relative flex gap-1.5 w-full items-center justify-between lg:hidden border-b border-[var(--ui-border)] [&>div]:min-w-min overflow-x-auto" >
 at <NavigationMenuRoot orientation="horizontal" delayDuration=0 unmountOnHide=true  ... >
 at <DbNavigationMenu items= [ { label: 'Accordion', to: '/components/accordion' },
 { label: 'Alert', to: '/components/alert' },
 { label: 'Avatar', to: '/components/avatar' },
 { label: 'Badge', to: '/components/badge' },
 { label: 'Breadcrumb', to: '/components/breadcrumb' },
 { label: 'Button', to: '/components/button' },
 { label: 'ButtonGroup', to: '/components/button-group' },
 { label: 'Card', to: '/components/card' },
 { label: 'Calendar', to: '/components/calendar' },
 { label: 'Carousel', to: '/components/carousel' },
 { label: 'Checkbox', to: '/components/checkbox' },
 { label: 'Chip', to: '/components/chip' },
 { label: 'Collapsible', to: '/components/collapsible' },
 { label: 'ColorPicker', to: '/components/color-picker' },
 { label: 'ContextMenu', to: '/components/context-menu' },
 { label: 'CommandPalette', to: '/components/command-palette' },
 { label: 'Drawer', to: '/components/drawer' },
 { label: 'DropdownMenu', to: '/components/dropdown-menu' },
 { label: 'Form', to: '/components/form' },
 { label: 'FormField', to: '/components/form-field' },
 { label: 'Input', to: '/components/input' },
 { label: 'InputMenu', to: '/components/input-menu' },
 { label: 'InputNumber', to: '/components/input-number' },
 { label: 'Kbd', to: '/components/kbd' },
 { label: 'Link', to: '/components/link' },
 { label: 'Modal', to: '/components/modal' },
 { label: 'NavigationMenu', to: '/components/navigation-menu' },
 { label: 'Pagination', to: '/components/pagination' },
 { label: 'PinInput', to: '/components/pin-input' },
 { label: 'Popover', to: '/components/popover' },
 { label: 'Progress', to: '/components/progress' },
 { label: 'RadioGroup', to: '/components/radio-group' },
 { label: 'Select', to: '/components/select' },
 { label: 'SelectMenu', to: '/components/select-menu' },
 { label: 'Separator', to: '/components/separator' },
 { label: 'Shortcuts', to: '/components/shortcuts' },
 { label: 'Skeleton', to: '/components/skeleton' },
 { label: 'Slideover', to: '/components/slideover' },
 { label: 'Slider', to: '/components/slider' },
 { label: 'Stepper', to: '/components/stepper' },
 { label: 'Switch', to: '/components/switch' },
 { label: 'Tabs', to: '/components/tabs' },
 { label: 'Table', to: '/components/table' },
 { label: 'Textarea', to: '/components/textarea' },
 { label: 'Toast', to: '/components/toast' },
 { label: 'Tooltip', to: '/components/tooltip' } ] orientation="horizontal" class="lg:hidden border-b border-[var(--ui-border)] [&>div]:min-w-min overflow-x-auto" >
 at <ToastProvider swipe-direction="right" duration=5000 >
 at <Toaster key=0 position="bottom-right" expand=true  ... >
 at <TooltipProvider>
 at <ConfigProvider use-id=fn<use-id> dir=undefined locale=undefined >
 at <App toaster= { position: 'bottom-right', expand: true, duration: 5000 } >
 at <App>
 at <NuxtRoot>

thank you! ❀️

πŸ“ Checklist

  • I have linked an issue or discussion.
  • I have updated the documentation accordingly.

Copy link

pkg-pr-new bot commented Dec 15, 2024

npm i https://pkg.pr.new/@nuxt/ui@2909

commit: 9239863

@yeonjulee1005

This comment was marked as resolved.

@yeonjulee1005 yeonjulee1005 changed the title fix(Link):missing linkBase imports again fix(Link/Button):missing relative impors again. ULinkBase and UAvatar Dec 15, 2024
@yeonjulee1005 yeonjulee1005 changed the title fix(Link/Button):missing relative impors again. ULinkBase and UAvatar fix(Link):missing relative impors again. ULinkBase Dec 15, 2024
@yeonjulee1005 yeonjulee1005 deleted the fix(Link)-missing-relative-imports-linkBase branch December 15, 2024 14:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant