-
Notifications
You must be signed in to change notification settings - Fork 36
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Integration with Electron [renderer] #1636
Comments
@Aivarass, can you take a look at this please? |
As I understand you created a package.json and main.js which points to index.html. The problem is that index.html is a switcher rather than index.
|
Although the comments about index.jsp/jsx aren't appliable here, I did the change in bundle.js that you suggested. Loaded fine without issue, well spotted. now it is: var defaultRealm = new Realm(global.require || globalResolve); if (typeof module !== 'undefined' && !global.window) { // for node.js module.exports = defaultRealm; } else { // for the browser global.realm = defaultRealm; } |
Electron is the evolution of Atom Shell, which puts HTML5 into Desktops.
Understood there is some "post build" activities, like wiring up ipcRenderer to communicate with the main process but was hoping a default export of a rendered page would work. However: on v 1.3 of BRJS:
loading from a browserWindow.loadURL(url)
in bundle.js:
in module.js:
the error being the module is not found.
It might be a challenge to support however:
Net: hoping Electron is supported out of the box on BladeRunner! [PhoneGap integration is obviously next ;)]
The text was updated successfully, but these errors were encountered: