在vue-cli中怎么直接使用meiqia客服插件
粉丝福利 : 关注VUE中文社区公众号,回复视频领取粉丝福利
<div class="online-csbtn" onclick="_MEIQIA('showPanel')"></div>
美洽客服的网页端使用法子:
<script type='text/javascript'>
(function(m, ei, q, i, a, j, s) {
m[i] = m[i] || function() {
(m[i].a = m[i].a || []).push(arguments)
};
j = ei.createElement(q),
s = ei.getElementsByTagName(q)[0];
j.async = true;
j.charset = 'UTF-8';
j.src = 'https://static.meiqia.com/dist/meiqia.js?_=t';
s.parentNode.insertBefore(j, s);
})(window, document, 'script', '_MEIQIA');
_MEIQIA('entId', xxxxx);
</script>
求助怎么在vue项目里使用它??