The current SDK only supports Electron 5.x.x version.
The operating systems currently supported by the SDK are as follows:
|Windows||✓, compatible with Windows 7 and above|
|macOS||✓, compatible with macOS 10.10 and above|
In the project directory, execute the following command in the command line to install the latest version of the SDK.
npm install zego-express-docsview-electron --save
When you execute
npm install to install the SDK, if the download of the npm official website image is slow, you can switch to the domestic image.
Use the following code to introduce the SDK into the project.
const ZegoExpressDocs = window.require('zego-express-docsview-electron')