index.html 1.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. <!--
  2. * @Author: your name
  3. * @Date: 2021-01-25 11:32:04
  4. * @LastEditTime: 2021-04-02 16:19:42
  5. * @LastEditors: Please set LastEditors
  6. * @Description: In User Settings Edit
  7. * @FilePath: \rebatedine-mini\public\index.html
  8. -->
  9. <!DOCTYPE html>
  10. <html lang="zh-CN">
  11. <head>
  12. <meta charset="utf-8" />
  13. <meta http-equiv="X-UA-Compatible" content="IE=edge" />
  14. <title>
  15. <%= htmlWebpackPlugin.options.title %>
  16. </title>
  17. <script src="http://res.wx.qq.com/open/js/jweixin-1.2.0.js"></script>
  18. <script src="https://open.work.weixin.qq.com/wwopen/js/jwxwork-1.0.0.js"></script>
  19. <!-- <script src="https://wechatfe.github.io/vconsole/lib/vconsole.min.js?v=3.2.0"></script>
  20. <script>
  21. window.vConsole = new window.VConsole();
  22. </script> -->
  23. <script>
  24. document.addEventListener("DOMContentLoaded", function() {
  25. document.documentElement.style.fontSize =
  26. document.documentElement.clientWidth / 20 + "px";
  27. });
  28. var coverSupport =
  29. "CSS" in window &&
  30. typeof CSS.supports === "function" &&
  31. (CSS.supports("top: env(a)") || CSS.supports("top: constant(a)"));
  32. document.write(
  33. '<meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0' +
  34. (coverSupport ? ", viewport-fit=cover" : "") +
  35. '" />'
  36. );
  37. </script>
  38. <link
  39. rel="stylesheet"
  40. href="<%= BASE_URL %>static/index.<%= VUE_APP_INDEX_CSS_HASH %>.css"
  41. />
  42. </head>
  43. <body>
  44. <noscript>
  45. <strong>Please enable JavaScript to continue.</strong>
  46. </noscript>
  47. <div id="app"></div>
  48. <!-- built files will be auto injected -->
  49. </body>
  50. </html>