Is it possible to create Desktop(Windows OS) application using Angular 2?
If yes then how can we build setup for desktop? Will it support windows 7 and Earlier?
I noticed that, Angular 2 is for cross platform.
Conclusion. Angular is wonderful and enables developers to build modern web apps. But much of the Angular goodness—components, data-binding, routing and more, can be brought over to desktop apps.
We've also seen how we can integrate Angular 8 with Electron and used the desktopCapturer API to create a simple screenshot tool from scratch using web technologies only.
Angular mobile app development gets facilitated in lesser time thanks to the front-end code reutilization between mobile and web. Angular frameworks are commonly used for cross-platform web application development. You can also combine Angular with NativeScript to develop classy, high-end mobile apps.
The following creates a new angular application named "FirstAngularApp" in the AngularApps folder. The ng new command prompts you for information about features to include in the initial app project. You can accept the defaults by pressing an Enter key, as shown below.
I want to build electron desktop app to call few webservices to process some data in excel. Will electron app fulfill my requirement? You don't need Angular. You can do it with React too. You can probably even use plain ol' JavaScript without a framework.
To create a new Angular application, navigate to a directory of your choice and issue the following command. This will create a directory ImageBrowser and initialize it with a base Angular application. To use the Electron library you will need to install it first. In the terminal navigate into the ImageBrowser directory and run this command.
And that’s not mentioning the fact that you will have to rely on third-party libraries that are quite specific when it comes to Angular. Thus, developing apps on Angular can be (bear in mind that it is a possibility and not an axiom) pretty repetitive and tiresome.
You can try using Electron (by GitHub): http://electron.atom.io/
Here an example using Electron + Angular 2: https://auth0.com/blog/2015/12/15/create-a-desktop-app-with-angular-2-and-electron/
I wrote a Medium post about that here, and here's an example, happy coding.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With