Skip to content

Vue Warn - non-props attributes in dev mode #13

@tiagobrilhante

Description

@tiagobrilhante

🔧 Console Warnings

hook.js:608 [Vue warn]: Extraneous non-props attributes (default-open) were passed to component but could not be automatically inherited because component renders fragment or text or teleport root nodes.
  at <UNavigationMenu items= [{…}] class="w-full mb-4" default-open=""  ... > 
  at <AppSidebar is-open=true > 
  at <Default ref=Ref< undefined > > 
  at <AsyncComponentWrapper ref=Ref< undefined > > 
  at <LayoutLoader key="default" layoutProps= {ref: RefImpl} name="default" > 
  at <NuxtLayoutProvider layoutProps= {ref: RefImpl} key="default" name="default"  ... > 
  at <NuxtLayout > 
  at <ToastProvider swipe-direction="right" duration=5000 > 
  at <Toaster key=0 > 
  at <TooltipProvider > 
  at <ConfigProvider use-id=fn<use-id> dir=undefined locale=undefined > 
  at <App > 
  at <App key=4 > 
  at <NuxtRoot>

defaul-open appears in:

   <UNavigationMenu
        :items="projectItems"
        class="w-full mb-4"
        default-open
        orientation="vertical"
      />

Inside AppSidebar.vue

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions