feat: use ipcRenderer demo
This commit is contained in:
1 parent
208ab386b1
commit
6b7c05b601
2 files changed
+3
-4
No files matched your search
+2
-2
@@ -4,9 +4,9 @@ import App from './App'
|
||||
|
||||
import './index.css'
|
||||
|
||||
// `nodeIntegration` needs to be enabled in the Main process.
|
||||
import './demos/ipc'
|
||||
// If you want use Node.js, the`nodeIntegration` needs to be enabled in the Main process.
|
||||
// import './demos/node'
|
||||
// import './demos/ipc'
|
||||
|
||||
ReactDOM.createRoot(document.getElementById('root') as HTMLElement).render(
|
||||
<React.StrictMode>
|
||||
|
||||
Reference in new issue
Block a user