I want to develop a desktop version of Electron chat application through the integration of cloud-based IM desktop application solutions.
1. After initializing the electron-vue project, introduce fused cloud WebIMSDK (RongIMLib-2.3.2.js)
2 into index.ejs, initialize
3 according to the initialization method startInit in fused cloud demo, initialize the method, print RongIMLib and RongIMClient objects have values, but there is no method to start the connection with RongIMClient.connect, and there is no error message
We have created a new web project of vue-cli scaffolding, introduced RongIMLib-2.3.2.js, into index.html and implemented the initialization method of startInit. Running the program prompts us to connect successfully, and executing RongIMClient.connect, indicates that SDK has been correctly integrated
.question: why did the integration fail in the electron-vue project?
which boss has encountered this kind of integration problem, please give me a lot of advice!