Пікірлер
@Stephane-w8l
@Stephane-w8l 16 күн бұрын
Nice video, thanks. If you want to use code that is common to electron and react Like models or service where do you put that code?
@ehrengrenlund
@ehrengrenlund 10 күн бұрын
Anything that is specifically front end should go into the src folder. Anything that is specific to Electron should go into the electron folder. If you have code that is used between the two processes (i.e. types or util functions) I would highly recommend making a Shared folder of sorts and putting that stuff in there!
@RisersBaseball
@RisersBaseball 17 күн бұрын
The worst spaghetti looking project infrastructure I have ever seen. Jesus, I would hate to be this dude’s co-worker.
@fonte1184
@fonte1184 2 ай бұрын
how do you package the app
@zamer_1234
@zamer_1234 3 ай бұрын
personnaly i prefer the method to generate the electron vite react repository with the official vite create command. that make all the functionnaly of vite include. like the reload each time we change the electron files,etc.. There is the command: npm create vite@latest my-electron-vite-project After select Others->create-electron-vite->React.
@luissantiago8887
@luissantiago8887 2 ай бұрын
How can I do this but instead TS use JS
@zamer_1234
@zamer_1234 Ай бұрын
@@luissantiago8887 ts is better than js that make it easier for security and checking that all your conditions check if something is correctly checked. Typing is really a better coding way. That can prevent to do shit like using number instead of string in a variable that need string and also know what is exactly needed for a function instead giving juste any types.
@MarathiMulgaInUK
@MarathiMulgaInUK 3 ай бұрын
I want make executable using react builder but when i try to execute it. it is showing blank screen. Any solutions for this ?
@ehrengrenlund
@ehrengrenlund 3 ай бұрын
You can use a tool called debugtron, and start the executable with that and it will give you an output of the logs and you can then figure out why it might not be working.
@HrithikDas-v4i
@HrithikDas-v4i 5 ай бұрын
how to add auto updates in an electron app while using this
@allhailalona
@allhailalona 5 ай бұрын
at last... I was looking so long for such a video! thank you very much!!
@ChrisOndrovic
@ChrisOndrovic 5 ай бұрын
nice video, do you have one to get debugging setup correctly in vscode, I have followed a couple but they don't seem to work properly
@marekchoinski5431
@marekchoinski5431 6 ай бұрын
Thank you!!!!
@TechWithIndy
@TechWithIndy 7 ай бұрын
Love your content. Subscribed and liked. One suggestion: Your audio levels are way too low. To see the level right-click on the video and click Stats for Nerds. It shows levels of -11db or -15bd in part two. It should be about -2db.
@momocraft365
@momocraft365 7 ай бұрын
tutorial great and all BUT FOR SOME REASON VS CODE IS LIKE NAH BRO YOU AINT GETTING ANY MAIN.TS OR ANYTHING LIKE THAT WORKING edit: fixed it
@PacLevkov
@PacLevkov 7 ай бұрын
Thank you so much. I spend hours of trying to do this, after find this video, I managed to do it. Do you have a video of building and installing for production?
@luizsozinhoas
@luizsozinhoas 8 ай бұрын
I'm studying programming, I started 3 months ago. I thought your project was very good. One question, if I need limited user access, can I simplify the implementation of this in this project? Is it very complicated to modify?
@alvarobyrne
@alvarobyrne 8 ай бұрын
excelent content which would be be much more excellent if font size were bigger! thank you very much!
@rfryanfavour4369
@rfryanfavour4369 8 ай бұрын
$ npm install npm WARN cleanup Failed to remove some directories For some reason i keep getting this error, both yarn and npm, and there isnt any package lock json to delete 😭 😭
@Silasmatala
@Silasmatala 9 ай бұрын
Pls how can I setup the same application with JavaScript instead of typescript?
@ehrengrenlund
@ehrengrenlund 9 ай бұрын
in the setup command and the beginning of the video. you will just use javascript instead of typescript. anywhere i use types, you will just omit those
@georgirazsolkov5870
@georgirazsolkov5870 10 ай бұрын
Hi, thanks for the content. I experience issue with that tutorial, when I bundle my application for mac, I open the .dmg installer and the electron window loads, but it is completely blank ? What could be the issue ?
@sadrakhorami4902
@sadrakhorami4902 10 ай бұрын
nice work 👍
@sadrakhorami4902
@sadrakhorami4902 10 ай бұрын
very good 👍👍
@sadrakhorami4902
@sadrakhorami4902 10 ай бұрын
👍👍👍👍
@2ghost-f4x
@2ghost-f4x 10 ай бұрын
Nice vid. How did you set all the css files as .scss initially? i thought you need to npm i sass in the project
@ehrengrenlund
@ehrengrenlund 10 ай бұрын
Yes, so you will need to do npm i -D sass to get scss files to work. Vite does all the configuration for you so there isn't anything you have to do there.
@aslamjonibragimov4149
@aslamjonibragimov4149 11 ай бұрын
WOW. this video helps me. thanks you so much
@jcruz6888
@jcruz6888 11 ай бұрын
Couldn't get React Native for Windows to work Not sure I would be aware of this tool if it wasn't because of your video.
@DisconnectedMedia
@DisconnectedMedia 11 ай бұрын
Amazing video! I disliked KZbin as I had been searching for such a video for the last 6 months, and KZbin didn't pull it up. I even quit Electron and Vite, but Google opened my eyes and showed me this video. Bro, good job! Keep it up. If you had some kind of full course on Udemy, I would definitely buy it
@fraanarrizurieta5198
@fraanarrizurieta5198 11 ай бұрын
Hi, I'm having a problem making the build. I have a Sidebar which handles paths, for example "/", "/configuration". At the time of development everything works fine but when I do the build and I want to navigate between the menus, I get that the files (the paths I set) are not available. Could you help me please? Thank you very much and nice video!
@nethajimurthy1229
@nethajimurthy1229 11 ай бұрын
I wish i had a clear knowledge about these config options like you. You saved me man thank you sooo much. ❤❤❤
@smohammadhn
@smohammadhn 11 ай бұрын
wasted my time, anything but the title ...
@muhammedshahanashussain2181
@muhammedshahanashussain2181 Жыл бұрын
but i can't open in the browser
@jcruz6888
@jcruz6888 11 ай бұрын
no shit It's electron, it's not a web app.
@shreyassonu3305
@shreyassonu3305 Жыл бұрын
is there any way with react js app ?? it is ts btw
@thehero9
@thehero9 Жыл бұрын
how is this video free.... legend
@tidalauralien7984
@tidalauralien7984 Жыл бұрын
Hi ! Sorry for disturbing My app is built now It show the screen but DevTools is disconnected! It seems that my db file in the dist-electron folder are not found Help me please 🙏🏾
@ehrengrenlund
@ehrengrenlund Жыл бұрын
I have a discord and would be happy to help you there! Here is an invite link: discord.gg/yjJw8DFx
@infowizard_
@infowizard_ Жыл бұрын
excellent video :)
@sgares6741
@sgares6741 Жыл бұрын
Gotta be one of the worst vids out there “uhh” “uhh”. Lmao.
@tidalauralien7984
@tidalauralien7984 Жыл бұрын
There is way to write code in jsx not in tsx ???
@ehrengrenlund
@ehrengrenlund Жыл бұрын
In that boilerplate when you initialize it, you can select what language you want to use. in this video i selected typescript, but you can select javascript if that’s what you want to use
@eucheckout7
@eucheckout7 Жыл бұрын
worst video ever.
@divyanshm.2276
@divyanshm.2276 Жыл бұрын
mooooon!!!, haoooon!!, chwaooon!!
@jacobgoldenart
@jacobgoldenart Жыл бұрын
mmm that seems like a lot of code to set the title of the window, I don't know much about Electron but I can't see how this would scale to a full app of similar events. Thanks for making the video though.
@ehrengrenlund
@ehrengrenlund Жыл бұрын
It’s just an example. Production level apps usually would have titles set when a window is spawned from electron. IPC is typically used for accessing node libraries that are not exposed to the front end. Hopefully that clarifies some things?
@stephentelian2919
@stephentelian2919 2 ай бұрын
i think its quite the code for one implementation, even if it is to set the window title but otherwise that functionality is everywhere, look at ms word. Enterprise grade applications use it everywhere
@brr3534
@brr3534 Жыл бұрын
Thanks a lot!
@AbhishekGupta-je5ni
@AbhishekGupta-je5ni Жыл бұрын
Awesome ! , and this my first comment to any of the youtube video I watch !!.
@kinamartinez
@kinamartinez Жыл бұрын
Thank you for these very useful and practical videos.
@vedx
@vedx Жыл бұрын
Great video. Love it. ❤
@Rick-mf3gh
@Rick-mf3gh Жыл бұрын
Finally! A guide to setting up Electron+React that actually works! Thank you.
@EnriqueOlmedo-e4m
@EnriqueOlmedo-e4m Жыл бұрын
Thanks for the Electron series!
@NotesNNotes
@NotesNNotes Жыл бұрын
thank you! fyi - Vite is pronounced Veet like as in French for quickly // I'm sure it doesn't matter much I just wanted to let you know 😅
@gabriellicar
@gabriellicar Жыл бұрын
🎉
@samosborne
@samosborne Жыл бұрын
Found you from your electron IPC tutorials but I love devlog content and make my own devlogs. Look forward to following your progress man! 🤝
@KajiTetsushi
@KajiTetsushi Жыл бұрын
Hey there. It seems that there are two ways to go about quickly scaffolding the project. The most conflicting part of this is how both methods exist in the GitHub org that hosted them. You: npm create electron-vite: via a separate scaffolding CLI repo on their org They: npm create @quick-start/electron: via their official CLI repo, also on their org So... Why should we pick this CLI over the official one? Does it do anything better than the official? Why would the authors fragment their userbase like this? ---- *EDIT* : You know what, I didn't read carefully. It seems the tool you used is not the official way to go about it, and the community has created a small org around electron-vite that appears to authentically represent electron-vite. Somehow. The author of electron-vite was not involved in the development of that alternate CLI. It's still feels fragmented.
@thefool733
@thefool733 Жыл бұрын
npm create @quick-start/electron grants additional configurations to the initial project set up, for instance I don't use TypeScript and by default the npm create electron-vite adds TypeScript configurations.
@milhane166
@milhane166 Жыл бұрын
Liked and subscribed, I'd love to see the progress!
@ehrengrenlund
@ehrengrenlund Жыл бұрын
It will definitely take a while, but I will be keeping the channel updated with weekly dev logs!
@augustine_codes
@augustine_codes Жыл бұрын
After trying to set an App Icon, my app displays just a white screen on the production build. How can we set the app icon without encountering issues? In the meantime, Thanks for this video, it helped me build an app in a very fast time.
@ehrengrenlund
@ehrengrenlund Жыл бұрын
Are there any errors that pop up in your console? You should just have to replace the favicon.ico file with your own. Regular PNG files wont work and etc. has to be a .ico file as far as I am aware.
@MMhb-dj1hj
@MMhb-dj1hj Жыл бұрын
Please zoom unto your screen or use bigger font. I can't see things without a microscope.