What is the correct/best way to get $q.bex/bridge in a boot file or a pinia store? #17139
Unanswered
richterdennis
asked this question in
CLI - BEX mode
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
What is the correct/best way to get $q.bex/bridge in a boot file or a pinia store?
When I open my bex popup i want to load the state from the background script. The only way to communicate with the background script is through the $q.bex/bridge. But I don't have access to
this.$q.bex
in a boot file or in a pinia store function and there is nothing likeuseBridge
.My best approach is something like this:
But this is ofc not a good way. How do I do this the correct way?
Beta Was this translation helpful? Give feedback.
All reactions