集成到Vue项目中 地址vue-cli项目集成环信WebIM 另外在环信社区里也有一个文章作为参考Vue-cli整合环信WebIM 下面说一下我的集成方式 安装 easemob-websdk 和strophe.js 修改三个文件 /node_modules/easemob-websdk/src/connection.js /webim.config.js var Strophe = require('strophe.js ').Strophe; var meStrophe = require('strophe.js'); $iq = meStrophe. Strophe.getNodeFromJid(this.jid); }, getJid: function () { return this.jid; }, 如图: 在strophe.js /strophe.js 报此错修改 webim.config.js npm run dev 访问 http://localhost:8080/#/chat?
数据存储API:Cassandra和ZooKeeper Memcache API:memcached 任务队列API:RabbitMQ和Celery XMPP API:ejabberd 频道API:strophe.js