Комментарии:
Is this setup works on actual production?
ОтветитьThank you
Ответитьyarn add electron concurrently wait-on cross-env Does not work for me after the initial install why
ОтветитьI'm having issues with mine. No matter what I do, react would always open on a new browser window.
ОтветитьAwesome tutorial, tyvm, I hope you didn't stop creating excellent videos like this.
ОтветитьElectron is slow
Ответитьyarn is just stuck on wait-on tcp:3000 for me
ОтветитьOutdated.
ОтветитьGuys, if the electron app is not showing for you then it's probably because of "wait-on tcp:3000". For some reason wait-on is not finished once something on tcp:3000 happens, in our case our react app is built and shown.
You can remove "wait-on tcp:3000 && " part from electron:start and you will start showing the window, but it's gonna be blank for the time of react build. I don't know how to circumvent that.
I think you shoud "cd react-electron" before"yarn add concurrently wait-on cross-env"
Ответитьfireship lookin ah video 💀💀💀💀💀
ОтветитьSorry, I have a question, how can I do the build if the react application has a react router?
ОтветитьI was having problem to use -c.extraMetadata
I found a way to solve, in the package.json, add to the build properties the following:
"extraMetadata":{
"main":"build/index.js"
}
Another important thing: You dont need to put node_modules folder on files, as it is not needed to build.
Any git with the final code? Video links to the React-Electron starting point.
Ответитьthink this video was time dependent, and no longer works.
other general feedback:
skips parts of development process on video (results may vary)
uses @electron/remote with huge warning sign on it when viewing the npm page without discussion
best practice to not enable nodeIntegration without mentioning alternative
nice add format size function
Hello Justin window.require("path") not an function. how possible to fix that ?
Ответитьwell, doesnt open the window, maybe already outdated
Ответитьafter all following code, yarn runs perfect but the electron window dont open at all
ОтветитьPeople seem confused. This is not a tutorial.
Ответитьuh..so what happens with the index.html that is created via CRA?
Ответить