index.html 1.1 KB

12345678910111213141516171819202122232425262728293031
  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
  5. <meta content="width=device-width,initial-scale=1,user-scalable=no" name="viewport">
  6. <meta name="apple-mobile-web-app-capable" content="yes">
  7. <meta name="apple-touch-fullscreen" content="yes">
  8. <meta name="format-detection" content="telephone=no,address=no">
  9. <meta name="apple-mobile-web-app-status-bar-style" content="white">
  10. <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" >
  11. <title>mini</title>
  12. <script><%= htmlWebpackPlugin.options.script %></script>
  13. <script src="https://ai-oss.d8d.fun/umd/vconsole.3.15.1.min.js"></script>
  14. <script>
  15. const init = () => {
  16. const urlParams = new URLSearchParams(window.location.search);
  17. // if ( !urlParams.has('vconsole')) return;
  18. var vConsole = new VConsole({
  19. theme: urlParams.get('vconsole_theme') || 'light',
  20. onReady: function() {
  21. console.log('vConsole is ready');
  22. }
  23. });
  24. }
  25. init();
  26. </script>
  27. </head>
  28. <body>
  29. <div id="app"></div>
  30. </body>
  31. </html>