Merge pull request #257 from bampakoa/docs

Fix typos in README
This commit is contained in:
Maxime GRIS
2018-10-26 15:50:09 +02:00
committed by GitHub

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 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
@@ -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 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