![]() Next, navigate to the root of your project and run the following command to install the latest version of Electron from npm as a development dependency: npm install -save-dev of this writing, this command will install Electron v4.1.4. Wait for your project’s files to be generated and dependencies to be installed from npm. If the CLI is installed successfully, navigate to your working directory and create a new Angular project using the following commands: cd ~ ![]() ![]() If the command fails with the EACCESS error, add sudo before your command in Linux or macOS, or run the command prompt as an administrator in Windows. ![]() Open a new terminal and run the following command: npm install -g install the Angular CLI globally on our system. Let’s get started by installing Angular CLI, which is the official tool for creating and working with Angular projects. In this tutorial, we’ll be using Angular. This means we can use any JavaScript library or framework to build our application. It was initially created for GitHub’s Atom editor, but has since been used to create applications by companies like Microsoft ( Visual Studio Code), Facebook, Slack, and Docker.Įlectron makes use of powerful platforms like Google Chromium and Node.js, but also provides its own set of rich APIs for interacting with the underlying operating system.Įlectron provides a native container that wraps web apps so they look and feel like desktop apps with access to operating system features (similar to Cordova for mobile apps). It’s created and maintained by GitHub and it’s available under the MIT permissive license. In this tutorial we’ll build a cross-platform desktop application with Electron and web technologies such as TypeScript and Angular.Įlectron.js is a popular platform for building cross-platform desktop apps for Windows, Linux and macOS with JavaScript, HTML, and CSS.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |