feat: use ipcRenderer demo

This commit is contained in:
草鞋没号 committed 2024-01-03 16:01:12 +08:00
1 parent 208ab386b1
commit 6b7c05b601
2 files changed
+3 -4

No files matched your search

+2 -2
View File
@@ -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>