DEV Community

Discussion on: Starter Code Generator for Electron with Vue or React

Collapse
rajvirsingh1313 profile image
Rajvir Singh Author

I hope you all found Elecrue helpful, If you guys have any feedback about my writing style or presentation style, I will surely hear. And let me know, If you guys want any new template to be added in Elecrue.
Have a good day,
Rajvir Singh

Collapse
gfarinacci profile image
Giuseppe Farinacci

Thanks for this project. It seems useful. But from my experience not using IPC and hosting a local web server usually causes problems with the antivirus. So, I strongly suggest the usage of IPC.

Collapse
rajvirsingh1313 profile image
Rajvir Singh Author

A little update Giuseppe, I tried IPC, but I am not able to import the ipcRenderer into react file. Let me know if you got any solution to this problem

Thread Thread
gfarinacci profile image
Giuseppe Farinacci

Here there is an example: medium.com/folkdevelopers/the-ulti...

Thread Thread
rajvirsingh1313 profile image
Rajvir Singh Author

Oh I was following that article. But I got window require error, and then I tried with only require then I also got error. At the end I tried with import, but the I got error about fs.writeSync not defind something like that. Can you try on your local pc, maybe it work? Let me know, and thanks for the replying

Collapse
rajvirsingh1313 profile image
Rajvir Singh Author

I think it is my mistake, not having enough experience for using IPC correctly. I will surely give a try to IPC, if it got good with me, I will surely update this article and the project. Thanks Alot for the comment