Main Window Pre-Loader


Hi There

Is there a way to show loading animation while loading main window? Often when I call mainWindow.loadURL(‘’); it takes time and the screen is blank. It will be nice to have some loading animation…spinner etc.



You need to open new browser window and load html file from local application resources.
Take a look into this repo and you can find good solution.
PS. it is not my repo ) i’m just was looking for interesting projects on Electron