How to load a theia page on a new window?

As we know, theia build will create a index.html, then the electron window will load this index.html.

But how to load a new page on a new window?

Hi, what exactly do you mean by a ‘new page’? Do you want a second Theia window, or a new electron window that displays some custom content, that is specifically not Theia?

For the former, you can simply open a new workspace/folder, which starts a new Theia window with the new workspace. For the latter, please see the Electron documentation on opening windows as this is not really related to Theia.