@electron-uikit/core
v1.0.0
Published
Electron UI kit core.
Downloads
28
Maintainers
Readme
@electron-uikit/core
Electron UI kit core. Exposes the UI Kit APIs for communicating between main and renderer processes.
Usage
Install
npm i @electron-uikit/core
Get Started
You can expose it in the specified preload script:
import { exposeUIKit } from '@electron-uikit/core/preload'
exposeUIKit()
Or, you can expose it globally in the main process for all renderer processes:
import { useUIKit } from '@electron-uikit/core/main'
useUIKit()
[!NOTE] If you are using @electron-toolkit/preload to expose Electron APIs, there is no need to use this module, because
core
is also an export of it.