inject/getCurrentInstance does not work with createVNode and render #6527
Unanswered
jambonn
asked this question in
Help/Questions
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
From @vue/repl idea, I'm creating 1 live preview editor on 1 other storefront project. But when the code renders using createVNode and render, all values from getCurrentInstance are null. Please suggest me how to solve this problem. Thank you!
Example: https://stackblitz.com/edit/vitejs-vite-7xsuzb
The variable "scripts" in file index.html is the code that is listened to from the iframe
Beta Was this translation helpful? Give feedback.
All reactions