This demo shows how an app would look like with mixed uses of WebContents and Native UI.
This demo can only run on macOS with Electron 8.
- Clone this repo.
npm install -g electron@8
electron main.js
The native UI bindings are provided by the https://github.com/yue/yue project, documentations can be found at https://libyue.com/docs/latest/js/.
The gui.node
is a custom native module compiled targeting Electron 8.3.0.
(The official prebuilt binaries are only targeting Node.js.)