提交工单
咨询集成、功能及报价等问题
The following describes how to run the sample code of the In-app Chat Kit.
Go to ZEGOCLOUD Admin Console and do the following:
AppID
and ServerSecret
of your project. Platform-specific requirements:
keyCenter.ts
file under the Samples/ZIMKitDemo/src
directory using VSCode (or other programming software), and fill in the appID
and serverSecret
you get from the ZEGOCLOUD Admin Console. const appConfig = {
appID: 0, // The AppID you get from ZEGOCLOUD Admin Console.
serverSecret: '', // The ServerSecret you get from ZEGOCLOUD Admin Console.
};
Samples/ZIMKitDemo
directory, and run the following command in order to run the sample code. npm install # Install dependencies.
npm run serve # After installing the dependencies, execute this to run the project.
keyCenter.ts
file under the Samples/ZIMKitDemo/src
directory using VSCode (or other programming software), and fill in the appID
and serverSecret
you get from the ZEGOCLOUD Admin Console. const appConfig = {
appID: 0, // The AppID you get from ZEGOCLOUD Admin Console.
serverSecret: '', // The ServerSecret you get from ZEGOCLOUD Admin Console.
};
Samples/ZIMKitDemo
directory, and run the following command in order to run the sample code. npm install # Install dependencies.
npm start # After installing the dependencies, execute this to run the project.
Congratulations! So far, you have finished all the steps, and this is what you gonna see when the sample code is run successfully:
Need help or want to raise your questions? Click the button below to join our Discord community to get quick responses.
Join Discord community