Closed kuoruan closed 2 days ago
Here is a reproduce repo: https://github.com/kuoruan/electron-extension-bug
When using with vite-plugin-electron, The Vuejs devtools is not showing in electron devtools.
vite-plugin-electron
pnpm run dev
Then let's start without vite-plugin-electron:
pnpm run build
disable plugin: https://github.com/kuoruan/electron-extension-bug/blob/82041beb5dfeada3d5e732429e828e43b7e98ef2/vite.config.ts#L6
start vite and vue
Then open new terminal to run pnpm run start
pnpm run start
Finally find that it caused by the --no-sandbox flag added by #57
--no-sandbox
Here is a reproduce repo: https://github.com/kuoruan/electron-extension-bug
When using with
vite-plugin-electron
, The Vuejs devtools is not showing in electron devtools.Then let's start without
vite-plugin-electron
:disable plugin: https://github.com/kuoruan/electron-extension-bug/blob/82041beb5dfeada3d5e732429e828e43b7e98ef2/vite.config.ts#L6
start vite and vue
Then open new terminal to run
pnpm run start