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
Is it possible to use this inside electronjs? #231
Comments
Have you tried using it in an electron app? I believe it should work. Let me know! |
yes I did try, the above screenshot is error log from the dev tools of my electron js app |
I don't see any errors in your console. Did the dialog show on screen when you opened one? |
no it doesn't show a dialog |
in the log you will see that logging vex on the console gives only a few methods |
Do you have the right file? Those are all the methods you'd get from vex.min.js; you'd need vex.combined.min.js to get the vex.dialog object. |
Closing because we never found any evidence of something going wrong... Please reopen if you're still having a problem. |
Not sure if this is the same issue, but after trying to use this in an Electron app, I am seeing an error implying vex can't access the window object from the renderer process:
|
I can say the same that happened with @solancer does happened to me as well. I've created a dialogs.js file:
Then I've imported it in a different file:
While |
Is it possible to use this inside electronjs apps? since window.prompt is not an option inside electronjs?
apparently not all the methods in the object are available inside electronjs
The text was updated successfully, but these errors were encountered: