0👍
What you are looking for is:
import {ipcRenderer} from 'electron';
instead of
import ipcRenderer from 'electron';
You can read more about default export
vs export
.
Source:stackexchange.com
0👍
What you are looking for is:
import {ipcRenderer} from 'electron';
instead of
import ipcRenderer from 'electron';
You can read more about default export
vs export
.