For info on how to manage Electron versions in your apps, seeĮach Electron release provides binaries for macOS, Windows, and Linux. If you don't want you delete thisĪpp.For more installation options and troubleshooting tips, see Pathname: path.join(_dirname, `/dist/myRijSatApp/index.html`), Rename the newly added JS file to app.js and write the following code inside it.
npm install –save-dev open your project in any of your familiar angular IDE and add an app.js file inside the root folder of your project and write the following code inside it. Below cmd installs Electron as a development dependency in the project. You can run and see the application in your browser at Installing Electronįirst, we have to install electron. You can run ng serve command to open the Angular application in the browser. npm install -g an angular project using the below command ng new myRijSatApp Run the following command to install the latest version of Angular CLI.
In this article, we will learn to create the first angular electron application. In this article, we will design a desktop application using Angular and Electron which can be utilized for the Cross Platform. Using the electron packager tool, we can create a desktop executable file of the application having the combination of Electron and Angular. Electron is used to design the desktop-based application which can be used for Linux, Windows, and macOS. You can utilize this framework to design desktop applications using the web technologies such as HTML, JavaScript, CSS as well as other frontend frameworks and Web Assembly.
Electron is a free and open-source framework that is developed and maintained by GitHub.