- Electron Projects
- Denys Vuika
- 246字
- 2021-06-24 12:14:41
Building an Electron application with Angular
This section assumes that you already have experience with the Angular framework. To find out more, please refer to the Angular Quickstart section at https://angular.io/guide/quickstart.
To get the application up and running fast, we are going to use the Angular CLI. The Angular CLI is a project that's maintained by the Angular team. It's described in the official documentation (https://angular.io/cli#cli-overview-and-command-reference) as follows:
You can install the latest version of the Angular CLI through the NPM package manager. Typically, developers install it as a global tool so that they can generate a new project in any folder using the command-line tool or Terminal application.
To find out more about the Angular CLI, and globally get a list of all supported commands with a detailed explanation of what they do, please go to https://angular.io/cli.
Run the following command to install the CLI:
npm i -g @angular/cli@latest
The output should look similar to the following:
/usr/local/bin/ng -> /usr/local/lib/node_modules/@angular/cli/bin/ng
+ @angular/cli@7.3.8
The NPM package manager downloads and installs the Angular CLI and all its dependencies. Upon completion, it also registers a new global ng command that you can use anywhere.
Now, let's create our Angular project scaffold, which we will use with the Electron shell.
- UML和模式應(yīng)用(原書(shū)第3版)
- Beginning Java Data Structures and Algorithms
- Vue.js快速入門(mén)與深入實(shí)戰(zhàn)
- Web全棧工程師的自我修養(yǎng)
- Python數(shù)據(jù)分析從0到1
- Mastering Drupal 8 Views
- 劍指Java:核心原理與應(yīng)用實(shí)踐
- Salesforce Reporting and Dashboards
- 圖數(shù)據(jù)庫(kù)實(shí)戰(zhàn)
- 寫(xiě)給大家看的Midjourney設(shè)計(jì)書(shū)
- MyBatis 3源碼深度解析
- UI動(dòng)效設(shè)計(jì)從入門(mén)到精通
- Test-Driven iOS Development with Swift
- ArcPy and ArcGIS(Second Edition)
- Python實(shí)戰(zhàn)指南:手把手教你掌握300個(gè)精彩案例