electron-vite-vue icon indicating copy to clipboard operation
electron-vite-vue copied to clipboard

[Help] multiple tabs

Open Minyar2004 opened this issue 1 year ago • 2 comments

Hello !

Is there a way to create multiple tabs in the same window ?

Thank you

Minyar2004 avatar Oct 19 '23 14:10 Minyar2004

Here are two cases.

https://github.com/caoxiemeihao/electron-vite-samples/tree/main/multiple-renderer https://github.com/caoxiemeihao/electron-vite-samples/tree/main/multiple-window


Or you can see this 👉 https://www.npmjs.com/package/electron-tabs

caoxiemeihao avatar Oct 30 '23 11:10 caoxiemeihao

Thank you for your reply,

The two examples you sent don't allow multiple tabs, they allow to open a new window but not new tabs in the same window.

The module electron-tabs matches my needs, but it's based on webviews, which are obsolete in the latest Electron versions. BrowserViews are recommended instead.

Minyar2004 avatar Oct 31 '23 10:10 Minyar2004