Fix typos in README file

This commit is contained in:
Aristeidis Bampakos
2018-10-04 18:23:32 +03:00
parent 9106c8fa4f
commit 0440ee94e8

View File

@@ -57,7 +57,7 @@ Voila! You can use your Angular + Electron app in a local development environmen
The application code is managed by `main.ts`. In this sample, the app runs with a simple Angular App (http://localhost:4200) and an Electron window. The application code is managed by `main.ts`. In this sample, the app runs with a simple Angular App (http://localhost:4200) and an Electron window.
The Angular component contains an example of Electron and NodeJS native lib import. The Angular component contains an example of Electron and NodeJS native lib import.
You can desactivate "Developer Tools" by commenting `win.webContents.openDevTools();` in `main.ts`. You can disable "Developer Tools" by commenting `win.webContents.openDevTools();` in `main.ts`.
## Included Commands ## Included Commands
@@ -75,7 +75,7 @@ You can desactivate "Developer Tools" by commenting `win.webContents.openDevTool
## You want to use a specific lib (like rxjs) in electron main thread ? ## You want to use a specific lib (like rxjs) in electron main thread ?
You can to this! Just by importing your library in npm dependencies (not devDependencies) with `npm install --save`. It will be loaded by electron during build phase and added to the final package. Then use your library by importing it in `main.ts` file. Easy no ? You can do this! Just by importing your library in npm dependencies (not devDependencies) with `npm install --save`. It will be loaded by electron during build phase and added to the final package. Then use your library by importing it in `main.ts` file. Easy no ?
## Browser mode ## Browser mode