Skip to content

How to enable Vue.js dev tool to inspect the web extension under development? #150

Closed Answered by albertpratomo
albertpratomo asked this question in Q&A
Discussion options

You must be logged in to vote

I realize the app is actually served in my localhost:

http://localhost:3303/background/index.html
http://localhost:3303/options/index.html
http://localhost:3303/popup/index.html

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.

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@jay-p-b-7span
Comment options

@CodyBontecou
Comment options

Answer selected by albertpratomo
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants