I’m developing a website which provides some services. This website is accessible from a browser. I would like to develop an Electron app to give the user a desktop experience (exactly the same way as Slack, if you know it).
My Electron project is exactly the same as the quick start tutorial from the official github site. I’ve juste replaced this line :
mainWindow.loadUrl('file://' + __dirname + '/');
by this one :
I’m using jQuery in my web application. It works fine when I use my web application from any browser (Chrome, Firefox, etc…), but it seems to be a problem with jQuery when I run my Electron app :
“$ is not defined” and “jQuery is not defined”
I know this problem come from the fact that Electron should not be used to host external website, but, is there a way to fix it ? I would keep my application accessible via browsers.
Thanks for your help.