Closed thebspin closed 4 months ago
Runtime logs show up in the browser's devtools, not the terminal used to run vite. That terminal only shows build logs/errors.
This is the standard for web development.
I'm sorry for the confusion. But they dont show in the console devtools where the plugin is running in. The chrome devtools that is being spawned after running npm run dev
I don't really understand what you mean.... console logs work fine for me. If you go to the popup page's console you should see Hello from the popup!
and if you go to the service worker/background script's console you should see Hello from the background!
popup right click inspect
popup right click inspect
Thanks it actually never occured to me to right click the popup.. in my head it made sense the console log would just log whatever the popup was logging
@aklinker1 IMHO this can be closed
Summary
I expect there to be console.logs visible in the console in terminal that is being spawned after running npm run dev. First i thought this might been a issue with the svelte-ts template but the vue-ts does not seem to work either.
Reproduction
npm create vite-plugin-web-extension
And choose svelte-ts or vue-ts (have not tried the others)Environment