Browse Source

feat: vconsole调试

TIANYONG 1 year ago
parent
commit
3491f19229
2 changed files with 8 additions and 1 deletions
  1. 7 0
      orchestra.html
  2. 1 1
      vite.config.js

+ 7 - 0
orchestra.html

@@ -39,6 +39,13 @@
       },
     })
   </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>
+  
   <style>
     #lottieWeb {
       position: fixed;

+ 1 - 1
vite.config.js

@@ -5,7 +5,7 @@ import glsl from 'vite-plugin-glsl'
 const vueJsx = require('@vitejs/plugin-vue-jsx')
 const legacy = require('@vitejs/plugin-legacy')
 
-const proxyUrl = 'https://test.lexiaoya.cn/' // test 环境
+const proxyUrl = 'https://dev.lexiaoya.cn/' // test 环境
 // const proxyUrl = 'http://192.168.3.70:8989/' // test 环境
 // const proxyUrl = 'https://online.colexiu.com/' // online 环境