Skip to content

Commit a8dcf6a

Browse files
author
Maxime GRIS
committed
update README
1 parent 644d857 commit a8dcf6a

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

Diff for: README.md

+5-5
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ Bootstrap your project with Angular 4 and Electron (Typescript + SASS)
1010

1111
Currently runs with:
1212

13-
- Angular v4.0.1
13+
- Angular v4.0.2
1414
- Angular-CLI v1.0.0
1515
- Electron v1.6.2
1616

@@ -45,7 +45,7 @@ npm install -g @angular/cli
4545
**in a terminal window** -> npm start
4646
**in another terminal window** -> npm run electron:serve
4747

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 !
4949

5050
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.
5151
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
5454

5555
- npm run electron:dist
5656

57-
You can find your built files in the /dist directory.
57+
Your built files are in the /dist directory.
5858

5959
## Included Commands
6060

@@ -66,8 +66,8 @@ You can find your built files in the /dist directory.
6666

6767
## Use NodeJS Native libraries
6868

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 :
7171

7272
```javascript
7373
"externals": {

0 commit comments

Comments
 (0)