How to use electron with react||Convert react app to electron app

preview_player
Показать описание
From this tutorial,you will know how to integrate electron with react app.

"homepage": "./",
"scripts": {
"start": "react-scripts start",
"build": "react-scripts build",
"test": "react-scripts test",
"eject": "react-scripts eject",
"electron:serve": "concurrently -k \"cross-env BROWSER=none npm start\" \"npm run electron:start\"",
"electron:start": "wait-on tcp:3000 && electron ."
},
Рекомендации по теме
Комментарии
Автор

This took 5 mins to setup and worked perfect on first attempt on my react project, many thanks!

franco-yvr
Автор

Thanks for the topic which no one is covering, I was just searching for this

jot
Автор

so if you have electron in your project it willl convert the whole web app into a desktop app

XUHIII-SHXTR
Автор

bro, I follow the same steps but in the terminal it says it's running but I can only see it in my browser the electron app doesn't create me

yopuesquienmas
Автор

Thank you very much. It works. But, why "ReferenceError: window is not defined public/main.js"

ryansatriayudha
Автор

I followed all the steps in thus guide, but I am also having a problem where the electron window does not show up. I can only view the app in the browser. Is there a way to get the electron window to pop up?

brha
Автор

This video is very useful, please show us how to create an .exe application that interacts with a local (integrated) database

esdraswite
Автор

your guide really helped me! but how do I build an .exe from this project?

vdac
Автор

hello can you show how to use electron:build

hungry
Автор

For me electron window didnt came up, I followed the instructions.

shubhjack
Автор

Thanks for the video. I subscribed to your channel in the hope of seeing another video that allows to create a .exe file. Thanks in advance

sewendatchaou