web接入其实就是html,js,css那一套!

无论是vue还是其他啥,其实最终在浏览器运行都可以归纳为html/js/css

从开始接入中我们可以获得大概如下的代码

<script type="text/javascript" async id="jhtalkscript" src="https://speak.pastecode.cn/tool/input.js?token=1735307196_2_0_9afe2c989bf9cad34900927b0232e8d2&host=https://speak.pastecode.cn" charset="utf-8"></script>

如果你需要动态载入

则可以参考以下资料!

            var _script = window.document.createElement("script");
                _script.type = "text/javascript";
                _script.id="jhtalkscript"
                _script.src = "https://speak.pastecode.cn/tool/input.js?token=1735307196_2_0_9afe2c989bf9cad34900927b0232e8d2&host=https://speak.pastecode.cn";
                window.document.head.appendChild(_script);

按照以上操作完成后,就是测试环境了

发现更多文档

来自贴代码的公开项目