移动端控制台插件vConsole.min.js
作者:互联网
原文地址:https://www.jianshu.com/p/5e2a6a286be6?utm_campaign=maleskine&utm_content=note&utm_medium=seo_notes
demo地址:http://wechatfe.github.io/vconsole/demo.html
BootCDN搜索对应的版本引入
<script type="text/javascript" src="https://cdn.bootcss.com/vConsole/3.3.0/vconsole.min.js"></script> <script> // 初始化 var vConsole = new VConsole(); console.log('Hello world'); </script>
使用:
<script> // 初始化vConsole window.vConsole = new window.VConsole(); </script>
标签:插件,min,demo,js,vConsole,window,new,utm,VConsole 来源: https://www.cnblogs.com/laq627/p/16403989.html