adambullmer / vue-cli-plugin-browser-extension

Browser extension development plugin for vue-cli 3.0
GNU Lesser General Public License v3.0
427 stars 76 forks source link

Dev Tools tab not showing on DevTools by default #82

Open ghost opened 4 years ago

ghost commented 4 years ago

Feature Request While using the boilerplate and adding the Dev Tools Tab feature I expect seeing new tab added to dev tools, but its not implemented. By default, I think it should contain a default placeholder tab which works with the mozilla polyfill.

To Reproduce

Expected behavior my new extension's devtools should appear as a tab

Name Version
vue-cli-plugin-browser-extension 0.24.0
Operating System MacOS Mojave
Node v13.12.0
NPM/Yarn 6.14.4
vue-cli 4.0.5
browser Chrome, latest
BogdanChayka commented 4 years ago

add chrome.devtools.panels.create('Devtool', '', 'devtools.html'); to /src/devtools/main.js below the imports