I’m hosting a React Application within Electron, using bundled app + html. I’m trying to open a URL in a external browser (default on OS). Normally, I’d use
shell to do that, but I get the error that
fs module cannot be found.
I assume this comes from the fact that I’m using electron just as a “Host” for a web app, so there’s no access to node API.
Is there a other way to “host” React app? How I’d have to approach this, to be able to open links in default browsers?