如果是html写的代码
就要引入
<script src="https://cdn.bootcss.com/vConsole/3.2.0/vconsole.min.js"></script>
然后在
<script>
//初始化一下就可以了,
let vConsole = new VConsole();
//你打印的数据 比如
console.log('test');
//就可像小程序一样的看了和调试了。
</script>

借鉴:https://blog.csdn.net/qyx189573/article/details/102798345

相关文章:

  • 2022-12-23
  • 2021-11-23
  • 2021-04-24
  • 2021-08-18
  • 2021-08-06
  • 2022-12-23
  • 2021-09-15
  • 2021-11-18
猜你喜欢
  • 2021-10-14
  • 2021-03-31
  • 2022-03-05
  • 2022-12-23
  • 2022-02-21
  • 2022-12-23
  • 2021-12-26
相关资源
相似解决方案