How to enable Vue.js dev tool to inspect the web extension under development? #150
-
I would love to develop my web ext using Vue.js dev tool, but it's not detecting it now.. Any idea? |
Beta Was this translation helpful? Give feedback.
Answered by
albertpratomo
Jul 24, 2023
Replies: 1 comment 2 replies
-
I realize the app is actually served in my localhost:
So I can go there and see the app, also use the Vue dev tool. However, by default it will throw error because To work around that, instead of always using browser storage, we can use I will make a PR for this soon. |
Beta Was this translation helpful? Give feedback.
2 replies
Answer selected by
albertpratomo
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I realize the app is actually served in my localhost:
So I can go there and see the app, also use the Vue dev tool.
However, by default it will throw error because
webextension-polyfill
can't be used outside of Chrome context.To work around that, instead of always using browser storage, we can use
localStorage
as fallback.I will make a PR for this soon.