How do I set globalthis.__VUE_PROD_DEVTOOLS__
I'm getting an error stating that
__VUE_OPTIONS_API__
and __VUE_PROD_DEVTOOLS__
are not defined. While the error was definitely present, it didn't really cause an issue when developing my newtab but now that I've moved on to to popup, it throws the error every time I click on the extension icon and the popup is empty.
The exact error is:
To fix this, I manually add globalThis.__VUE_OPTIONS_API__ = true;
and globalThis.__VUE_PROD_DEVTOOLS__ = true;
to the .plasmo/static/popup.ts
file. The problem with this solution is that it has to be done manually every time I run pnpm dev
.
Is there somewhere that this can be configured that I'm not smart enough to figure out?1 Reply
Just merged your PR, this should be available in latest version @dino_morrison