title: Open a new window to display a html file using a menu click - Electron
body: <p>I'm new to Electron and JavaScript. I'm building an Electron app. I know how to open a URL in a browser via clicking an item in native menu(by studying the documentation), but I need to open a html file in another Electron window using an Electron's native menu click. If I have my menu structure like below, how can I achieve this? Please help.</p>
  
  <pre><code>const {Menu} = require('electron');
  
  const nativeMenus = [
      {
          label: 'About',
          submenu: [
              {
                  label: 'About',
                  click () {--- code to open about.html file in another electron window}
              }
          ]
  
      }
  ]
  
  const menu = Menu.buildFromTemplate(nativeMenus);
  Menu.setApplicationMenu(menu);
  </code></pre>