📜  如何同时运行电子和反应 - Javascript代码示例

📅  最后修改于: 2022-03-11 15:03:34.003000             🧑  作者: Mango

代码示例1
please note that you also have to install concurrently if not already installed

second one : install concurrently and run this (on windows though)
add the following to package.json file

"electron-dev": "concurrently \"SET BROWSER=none&&npm run start\" \"wait-on http://localhost:3000 && electron .\""