I am trying to make a desktop app that has navigation bars on top and each tab of the navigation bar has side navbars. Basically like a dashboard with different options. My issue is that having multiple HTML being called doesn't seem to work. The nested HTML doesn't seem to be able to execute the js scripts. Any idea how to go about this? Close issue to this stack post. https://stackoverflow.com/questions/55462919/how-should-multiple-html-files-be-rendered-in-a-single-window-within-electron
#Nested pages in electron desktop app.
4 messages · Page 1 of 1 (latest)
Electron has a buildmenufromtemplate option and it works similar to the navbar you want . I suggest you look into that . And as for the nested html not executing the js files do you have a reference pic as to what seems to be the issue?
https://www.electronjs.org/docs/latest/api/menu
For the Menu 👆
Create native application menus and context menus.
I ended up using React for frontend since I couldn't figure out a way to have a separate navigation bar from the default menu that electron provides.