mirror of
https://github.com/ElectronNET/Electron.NET.git
synced 2026-04-05 21:52:00 +00:00
Update documentation to reflect current approach
This commit is contained in:
@@ -99,7 +99,7 @@ BrowserWindowOptions browserWindowOptions = new BrowserWindowOptions
|
||||
```
|
||||
|
||||
> [!IMPORTANT]
|
||||
> When using a preload script _AND_ running a Blazor app, the following lines must be added to the preload script:
|
||||
> When using a preload script _AND_ running a Blazor app, `IsRunningBlazor` must be set to `false` (or removed) and the following lines must be added to the preload script:
|
||||
> ```js
|
||||
> global.process = undefined;
|
||||
> global.module = undefined;
|
||||
|
||||
Reference in New Issue
Block a user