Menu
Pinkesh's Notes
  • Home
  • Crossword
  • Technology
  • Site Map
  • Contact Me
  • About Me
Pinkesh's Notes

VueJS: Unknown custom element

Posted on August 15, 2019August 15, 2019 by jainpinkesh

Unknown custom element: – did you register the component correctly? For recursive components, make sure to provide the “name” option.

When declaring child component in the components section of the export in the parent component, explicitly specify the name like this:

export {

components :{ myComponent: MyComponent },

data(){

return {};

}

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Recent Posts

  • VueJS: Call child component’s method from a parent
  • VueJS: Unknown custom element
  • VueJS: Pass data from child component to parent component.
  • Economics – 12th HSC
  • Thoughts and It’s effects

Categories

  • Crossword
  • General
  • Technology


©2025 Pinkesh's Notes | WordPress Theme by Superb Themes