File tree 1 file changed +5
-5
lines changed
1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ Bootstrap your project with Angular 4 and Electron (Typescript + SASS)
10
10
11
11
Currently runs with:
12
12
13
- - Angular v4.0.1
13
+ - Angular v4.0.2
14
14
- Angular-CLI v1.0.0
15
15
- Electron v1.6.2
16
16
@@ -45,7 +45,7 @@ npm install -g @angular/cli
45
45
** in a terminal window** -> npm start
46
46
** in another terminal window** -> npm run electron: serve
47
47
48
- Voila! You have your Angular + Electron app in a local development environment with hot reload !
48
+ Voila! You can use your Angular + Electron app in a local development environment with hot reload !
49
49
50
50
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.
51
51
You can desactivate "Developer Tools" by commenting ` win.webContents.openDevTools(); ` in ` main.js ` .
@@ -54,7 +54,7 @@ You can desactivate "Developer Tools" by commenting `win.webContents.openDevTool
54
54
55
55
- npm run electron: dist
56
56
57
- You can find your built files in the /dist directory.
57
+ Your built files are in the /dist directory.
58
58
59
59
## Included Commands
60
60
@@ -66,8 +66,8 @@ You can find your built files in the /dist directory.
66
66
67
67
## Use NodeJS Native libraries
68
68
69
- By default, Angular-Cli doesn't seem to be able to import nodeJS native libs or electron libs during compilation time.
70
- If you need to use NodeJS native libraries like 'fs' or 'os', you MUST add it manually in the file ` webpack.config.js ` in root directory :
69
+ Actually Angular-Cli doesn't seem to be able to import nodeJS native libs or electron libs at compilation time (Webpack error) .
70
+ If you need to use NodeJS some native libraries like 'fs' or 'os', you ** MUST** add it manually in the file ` webpack.config.js ` in root directory :
71
71
72
72
``` javascript
73
73
" externals" : {
You can’t perform that action at this time.
0 commit comments