Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to create desktop application using Angular 2

Tags:

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.

like image 649
Nikunj Patel Avatar asked Jun 10 '16 13:06

Nikunj Patel


People also ask

Can I build desktop app with angular?

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.

Can we use angular with electron?

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.

Can you create apps with angular?

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.

How do I create a new angular application in angular?

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.

Will I need angular to build electron desktop app?

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.

How do I create an image browser using angular?

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.

Is it worth it to develop apps on angular?

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.


2 Answers

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/

like image 141
Sergio Rodrigues Avatar answered Sep 17 '22 11:09

Sergio Rodrigues


I wrote a Medium post about that here, and here's an example, happy coding.

like image 21
Ahmed Kamal Avatar answered Sep 20 '22 11:09

Ahmed Kamal