Access the current app instance #7288
Unanswered
KBGeo
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
Uh oh!
There was an error while loading. Please reload this page.
-
Hello!
I want to set globalProperties on my app.config but not in the same file (main.js) where I use createApp but in a different file (addons.js).
How can I access the current app and add the globalProperties? I don't want to have to create a new App instance again but access an already existing one, outside of a setup hook.
I hope my problem is clear. If you have a doc page that shows what to do, I'd also be grateful.
Beta Was this translation helpful? Give feedback.
All reactions