Update README.md

This commit is contained in:
Bart Duisters
2021-01-25 21:39:11 +01:00
committed by GitHub
parent 7778d97ae0
commit bdb91e4569

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