electron-blazor-glue
v8.0.1
Published
Glue code for running blazor apps in an electron renderer
Downloads
233
Readme
electron-blazor-glue
Necessary JS code to run a Blazor application within an electron renderer process.
It uses the coreclr-hosting
native node module to host an Blazor application.
This requires that the Blazor application is written using the ElectronHostedBlazor
package.
Installation
npm install --save electron-blazor-glue
Usage
Just use the following script in a HTML page loaded in an electron BrowserWindow
:
const glue = require('electron-blazor-glue');
window.runBlazorApp("path/to/the/application", "NameOfTheApplication.dll");