How can I use electron renderer ipc in a react component js file ?
I wrote " const electron = require('electron') or import electron from 'electron' "
it doesn't work, error reports: "Module not' found, can't resolve 'electron' "
DO I have to config webpack or something ?
I'm stuck on this really for a few days. Thank you.
How can I use electron renderer ipc in a react component js file ?
I wrote " const electron = require('electron') or import electron from 'electron' "
it doesn't work, error reports: "Module not' found, can't resolve 'electron' "
DO I have to config webpack or something ?
I'm stuck on this really for a few days. Thank you.