I’m just taking my first steps with electron and it’s awesome.
I’m also looking forward to getting deeper into the whole thing.
But I’m facing a big problem right now.
I would like to create a menu navigation, as in the electron-api-demos example. However, I get the following error (tried it with the help of this tutorial: https://www.christianengvall.se/electron-app-navigation/ ):
[Deprecation] HTML Imports is deprecated and will be removed in M73, around March 2019. Please use ES modules instead. See https://www.chromestatus.com/features/5144752345317376 for more details.
While searching the internet for alternatives, I came across the following:
But even this solution doesn’t work for me and unfortunately I don’t know why.
Now I wanted to ask if you could help me and know how I could implement it.
I would like to have a main page with header/navbar and footer. The content, however, should be changed according to which “menu” I am in. I would like to pack the individual content pages into own html files.
Something like this:
- node 12.0.0
- Chrome 73.0.3683.121
- Electron 5.0.2
Thanks for your help.