-
-
Notifications
You must be signed in to change notification settings - Fork 223
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[webext-bridge] No handler registered in 'content-script' to accept messages with id 'get-name' #144
Comments
For others that may run into a similar error, you may simply need to check that your i.e. within e.g. import { ... } from 'webext-bridge/content-script' While in your background script(s) it'll be: import { ... } from 'webext-bridge/background' and so on (other endpoints are Looks like you made your imports correctly @capoia . Do you think the error could've come up because you send the message in |
Describe the bug
Hello, I need to send and receive content script messages with .vue files and vice versa.
But whenever I try, I can't make my content script communicate with the .vue, and I even tried options, and I get the same error:
Reproduction
https://stackblitz.com/edit/github-hcxykr
System Info
Used Package Manager
yarn
Validations
The text was updated successfully, but these errors were encountered: