You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Install dependencies with your favorite dependency manager (npm or yarn) :
26
+
Install dependencies with your favorite dependencies manager (npm or yarn) :
27
27
28
28
```bash
29
29
npm install
30
30
```
31
31
32
-
If you want to use Angular-cli to generate components & co, you must to install it globally.
33
-
Please follow [Angular-cli documentation](https://github.com/angular/angular-cli) if you had installed an old version of angular-cli and need to upgrade it.
32
+
If you want to use Angular-cli to generate components, you must install `@angular/cli` in the global context.
33
+
Please follow [Angular-cli documentation](https://github.com/angular/angular-cli) if you had installed an previous version of `angular-cli`.
34
34
35
35
```bash
36
36
npm install -g @angular/cli
@@ -44,8 +44,8 @@ npm install -g @angular/cli
44
44
45
45
Voila! You have your Angular + Electron app in a local development environment with hot reload !
46
46
47
-
The code for this is managed at `main.js`. In this sample, the app runs with a simple Electron window.
48
-
By default, Developer tools is open. You can desactivate it by commenting `win.webContents.openDevTools();` in `main.js`.
47
+
The code for this is managed at `main.js`. In this sample, the app runs with a simple Electron window and "Developer Tools" is open.
48
+
You can desactivate "Developer Tools" by commenting `win.webContents.openDevTools();` in `main.js`.
49
49
50
50
## To build for production
51
51
@@ -57,6 +57,6 @@ You can find your built files in the /dist directory.
57
57
58
58
-`npm run electron:linux` - builds your application and creates an app consumable on linux systems.
59
59
-`npm run electron:windows` - On a Windows OS, builds your application and creates an app consumable in windows 32/64 bit systems.
60
-
-`npm run electron:mac` - On a MAC OS, builds your application and generates a `.app` file of your application that can be run on mac .
60
+
-`npm run electron:mac` - On a MAC OS, builds your application and generates a `.app` file of your application that can be run on Mac.
61
61
62
-
**Your executable is optimised. There are only the files of /dist directory in the executable generated.**
62
+
**Your application is optimised. There are only the files of /dist folder in the generated executable.**
0 commit comments