I am currently working on a desktop application using Electron, Vue, and Vuetify. However, I have encountered an issue where sending data from the rendererProcess to mainProcess using IPC results in a white blank screen. I'm unsure of what is causing this error.
// Main process
ipcMain.on('fileOps', (event, args) => {
});
// Renderer side
const ipcRenderer = require("electron").ipcRenderer
const buttonClicked = () => {
ipcRenderer.send("fileOps", "test");
}
module.exports = buttonClicked
import buttonClicked from "../renderer/file.js";
export default {
mounted() {
buttonClicked();
},