Answer the question
In order to leave comments, you need to log in
How to make recursive components in Vue?
There is a Tree component, and there is a TreeNode component. By architecture, TreeNode needs to call TreeNode internally. However, I get the "template or render function not defined" error.
I tried to register the component globally, the same nonsense. The component has a name "name". Dynamic import in my case, I think, will not work, because. I need not to call component B several times in component A, but to call component B from component B, which, in fact, is recursion.
How to get around?
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question