Merge pull request #571 from bartduisters/patch-1

Update README.md
This commit is contained in:
Maxime GRIS
2021-02-13 16:27:40 +01:00
committed by GitHub

View File

@@ -65,7 +65,7 @@ You can disable "Developer Tools" by commenting `win.webContents.openDevTools();
## Use Electron / NodeJS / 3rd party libraries
As see in previous chapter, this sample project runs on both mode (web and electron). To make this happens, **you have to import your dependencies the right way**. Please check `providers/electron.service.ts` to watch how conditional import of libraries has to be done when using electron / NodeJS / 3rd party librairies in renderer context (ie. Angular).
This sample project runs in both modes (web and electron). To make this work, **you have to import your dependencies the right way**. Please check `providers/electron.service.ts` to watch how conditional import of libraries has to be done when using electron / NodeJS / 3rd party libraries in renderer context (i.e. Angular).
## Browser mode