浏览代码

feat: 打开vconsole调试

TIANYONG 1 年之前
父节点
当前提交
33b784e579
共有 1 个文件被更改,包括 5 次插入0 次删除
  1. 5 0
      instrument.html

+ 5 - 0
instrument.html

@@ -53,6 +53,11 @@
   </script>
   </script>
 
 
   <script type="module" src="/src/page-instrument/main.ts"></script>
   <script type="module" src="/src/page-instrument/main.ts"></script>
+  <script src="https://unpkg.com/vconsole@latest/dist/vconsole.min.js"></script>
+  <script>
+    // VConsole will be exported to `window.VConsole` by default.
+    var vConsole = new window.VConsole();
+  </script>  
 </body>
 </body>
 
 
 </html>
 </html>