Vue Failed to resolve component n

Viewed 6944

i'm trying to clean my console from all the Vue Warnings. This one comes to be a real pain. I don't know where to look. Does anyone can point me into the right direction?

vue@next:1571 [Vue warn]: Failed to resolve component: did
If this is a native custom element, make sure to exclude it from component resolution via compilerOptions.isCustomElement. 
  at <Anonymous key=0 onToClose=fn<onToClose> onConfirm=fn<bound handleConfirm>  ... > 
  at <BaseTransition appear=false persisted=false mode=undefined  ... > 
  at <Transition name="purchase" isFr=true onToClose=fn<onToClose> > 
  at <Anonymous key=0 product= {position: 2, price: {…}} isFr=true  ... > 
  at <Anonymous onVnodeUnmounted=fn<onVnodeUnmounted> ref=Ref< Proxy {handleDetail: ƒ, displayPurchase: ƒ, …} > > 
  at <KeepAlive> 
  at <RouterView> 
  at <Anonymous> 
  at <App> ... > 

I'm using Vue3 with cdn and the structure is:

GrandParentComponent
      ----  Parent Component
            -----  ChildComponent

I'm listening to and event form the child component with $emit(event, {data1: 'data1' data2:'data2'} and handling it on the parent component.

1 Answers

This error comes while importing some component, so you must write components in curely bracekts.

Related