Skip to content

Commit 8818750

Browse files
committed
Move Browser mode chapter
1 parent 083498e commit 8818750

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

Diff for: README.md

+5-4
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,11 @@ If you need to use NodeJS native libraries like 'fs' or 'os', you **MUST** add i
8282
},
8383
```
8484

85+
## Browser mode
86+
87+
Maybe you want to execute the application in the browser ? You can do it with `npm run start:web`.
88+
Note that you can't use Electron or NodeJS native libraries in this case. Please check `providers/electron.service.ts` to watch how conditional import of electron/Native libraries is done.
89+
8590
## Execute E2E tests
8691

8792
You can find end-to-end tests in /e2e folder.
@@ -92,7 +97,3 @@ You can now execute tests with the command lines below :
9297
- **in a terminal window** -> First, start a web server on port 4200 : `npm run start:web`
9398
- **in another terminal window** -> Then, execute Protractor : `npm run e2e`
9499

95-
## Browser mode
96-
97-
Maybe you want to execute the application in the browser ? You can do it with `npm run start:web`.
98-
Note that you can't use Electron or NodeJS native libraries in this case. Please check `providers/electron.service.ts` to watch how conditional import of electron/Native libraries is done.

0 commit comments

Comments
 (0)