2 u011480146 u011480146 于 2016.03.15 14:13 提问

开发openfire,借用converse.js出现问题

图片说明

 <head>
    <title>Converse.js</title>
    <meta charset="utf-8">
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <meta name="description" content="Converse.js: A free chat client for your website" />
    <meta name="author" content="JC Brand" />
    <meta name="keywords" content="xmpp chat webchat converse.js" />

    <link type="text/css" rel="stylesheet" media="screen" href="css/converse.css" />
    <script src="converse.js"></script>

</head>

<body>

</body>

<script>
    require(['converse'], function (converse) {

        converse.initialize({
            bosh_service_url: 'https://conversejs.org/http-bind/', // Please use this connection manager only for testing purposes
            keepalive: true,
            message_carbons: true,
            play_sounds: true,
            roster_groups: true,
            show_controlbox_by_default: true,
            xhr_user_search: false
        });
    });
</script>

引用converse.js一直出现不了聊天对话框,但换成converse.min.js就可以,但现在我想重写开发converse.js,所以只能用converse.js,求大神指教如何用converse.js配置成功???

1个回答

zzj1990
zzj1990   2016.04.06 13:54

同求!最近要做一个客服系统,也用到这个,楼主解决了吗

Csdn user default icon
上传中...
上传图片
插入图片
准确详细的回答,更有利于被提问者采纳,从而获得C币。复制、灌水、广告等回答会被删除,是时候展现真正的技术了!