Replies: 1 comment
-
Please, use the Discord server, or StackOverflow for questions. |
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
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I want to build a composable that renders an
<AlertDialog />
in the App programmatically. The desired syntax is like below.I finished the most of it but I'm struggling to find out the best way to programmatically insert a vue component into the App.
I used
Vue.render()
function withVue.h()
but it doesn't provide a syntax tounmount
the inserted component programmatically thus being troublesome when debugging.It's also confusing if it maintains the App's context.
the simplified code of the composable:
I want to know if I'm completely missing something crucial because the work is harder than I expected which I believe should be fairly easy.
AlertDialog
for the component to render.Beta Was this translation helpful? Give feedback.
All reactions