Replies: 3 comments
-
|
I found a way that works but I assume there must be a better way to get the reference |
Beta Was this translation helpful? Give feedback.
-
|
Hello. Thank you for using The preload script is basically a communication bridge that allows the renderer process to access the main process' API. It is not recommended to include the behavioral process logic of specific features. In general, using the Node API is not recommended for security reasons in the renderer process and the main process will receive and process Node API requests. Vutron runs in a context-isolated environment and there is a way to use the window's
|
Beta Was this translation helpful? Give feedback.
-
|
Thank you for the info. I would love to use the ipc methods. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Not sure if this is a bug, this could easily me be me not understanding enough of electron.
I try to sent messages from the pre load script to the render.
I tried stuff like:
But somehow it doesn't get picked-up in the vue side.
Where I subscribed like:
Could you add some examples to the documentation how to achieve this?
Beta Was this translation helpful? Give feedback.
All reactions