How to use same component instance in multiple places on a page? #10593
Unanswered
zhengcling
asked this question in
Help/Questions
Replies: 2 comments
-
Does it seem like a dialog component? |
Beta Was this translation helpful? Give feedback.
0 replies
-
You can see the createReusableTemplate method in vueuse,It can define and reuse template inside the component scope。 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
When condition A is met, the panel component is displayed under the
content
component, otherwise it is displayed under thepage
component.The current approach is to use
appendChild
to switch parent components. Is there any other way to ensure that instances can be reused?Beta Was this translation helpful? Give feedback.
All reactions