Creating DESKTOP apps with Angular is easier than you think

preview_player
Показать описание

Getting a native desktop application up and running with Electron and Angular is surprisingly quick. In this video, we make use of these frameworks, in conjunction with Nx, to create the basic scaffolding required to create desktop applications with web tech

0:00 Introduction
1:01 Project structure
1:32 Setting up the project
2:27 Extra configuration
3:46 Improving DX

#angular #electron

Рекомендации по теме
Комментарии
Автор

You can redefine angular's output not be nested in "browser" folder in angular.json using
"options": {

"outputPath": {
"base": "dist/META-INF/resources", //some java specific path - not important
"browser": "",
"server": "server",
"media": "media"
},

ukaszmichalak
Автор

Definitely want to see more about Electron and Angular!

JamesJansson
Автор

YES PLEASE DEEP DIVE INTO BUILDING ELECTRON APPS WITH ANGULAR!

nikolitilden
Автор

Please do continue making more videos on working with angular and electron (especially in an Nx monorepo env)
plus I'd love to see and learn working with native api's on electron
you're the best!

sickboy
Автор

Such an awesome video, and such a relevant topic. Please continue with this topic

colemeyer
Автор

Great video! You can still use the application builder. "outputPath" will then be an object with a "base" property set to the folder you want, and a "browser" property set to an empty string. This will ensure it behaves exactly as you want and it won't create a browser folder anymore. On another note, the new media folder is internesting! Check it out if you haven't already. (N.B: Using latest angular release)

HishamButeen
Автор

I like more the approach of Wails or Tauri ( but prefer Wails because it is written in go ) and instead of having a whole browser for a simple app, it uses a WebView and it is much faster. Also, they have backends in statically compiled and more serious languages, go and rust compared to JS. I have no hate for JS, i just like to use it for what it was made for.

eptic-c
Автор

The explanation is so net & clean, thanks for the amazing video, please continue this series

ilyesbrh
Автор

I don't know why you have so few subscribers compared to these top notch quality angular content 👌

deadlyecho
Автор

Please more videos about Electron and Angular 👍👍

cesarqp
Автор

Electron is ok, but if you’re not afraid of writing just a little bit of rust, Tauri is sooo much easier to setup and use

Автор

IDK what happend but recently something shot to my mind that i need to build an electron app, then this happen! Thanks man! Definitely need more of this!

lolobirolo
Автор

Definitely interested in more videos since, currently I'm working on an existing app that feels like outdated to me and my task is to insert an auto updater functionality for all Mac Windows and Linux but Im struggling to make it work since I also need to install azcopy as prerequisite during installation. I didnt know anything about electron before but now I definitely think I should create a new version and move everything to that v17 and it would save a lot of headaches for me.

benceszigeti
Автор

good timing, was already considering redoing our angular application with electron. Publishing application updates though can be a bit tedious.

Nemo-ytgi
Автор

Been using Angular for years. Need to try using it again with Electron. 👍

cuznerdexter
Автор

Hi Joshua! Great content as always!

Can you please help me with my issue? Im trying to upgrade an application from Angular 16 to 17, and the problem is with new SSR approach i get "localStorage is not defined" error.
What would be the best solution for that? Wrapping all uses of localStorage in smth to use them on the client side, moving away from using localStaroage at all (i have it quite a lot in the project) or maybe something else will help?

captainmorgan
Автор

Can you do comparison video comparing electron and tauri?

Stevexupen
Автор

amazing video
really want to try it out myself now
pls more of this ❤

jeffnikelson
Автор

Yeah, please more Videos about angular and Electron. Complex intercommunication and multiple renderer Prozesses in the background without a Window like vsc.

MrMagrok
Автор

Yes Joshua, more electron stuff please!

eliotistube