Electron UI kit core. Exposes the UI Kit APIs for communicating between main and renderer processes.
npm i @electron-uikit/core
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.