index.html 1.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. <!DOCTYPE html>
  2. <html lang="" class="has-bottombar">
  3. <head>
  4. <meta charset="utf-8" />
  5. <meta http-equiv="X-UA-Compatible" content="IE=edge" />
  6. <meta name="viewport" content="width=device-width,initial-scale=1.0" />
  7. <meta content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0;" name="viewport" />
  8. <link rel="icon" href="<%= BASE_URL %>favicon.ico" />
  9. <title><%= htmlWebpackPlugin.options.title %></title>
  10. <meta name="wpk-bid" content="dta_2_131175" />
  11. <script>
  12. var isDingtalk = navigator && /DingTalk/.test(navigator.userAgent);
  13. var isProductEnv =
  14. window &&
  15. window.location &&
  16. window.location.host &&
  17. window.location.host.indexOf("127.0.0.1") === -1 &&
  18. window.location.host.indexOf("localhost") === -1 &&
  19. window.location.host.indexOf("192.168.") === -1;
  20. // 如果有其它测试域名,请一起排掉,减少测试环境对生产环境监控的干扰
  21. if (isProductEnv) {
  22. !(function (c, i, e, b) {
  23. var h = i.createElement("script");
  24. var f = i.getElementsByTagName("script")[0];
  25. h.type = "text/javascript";
  26. h.crossorigin = true;
  27. h.onload = function () {
  28. c[b] || (c[b] = new c.wpkReporter({ bid: "dta_2_131175" }));
  29. c[b].installAll();
  30. };
  31. f.parentNode.insertBefore(h, f);
  32. h.src = e;
  33. })(window, document, "https://g.alicdn.com/woodpeckerx/jssdk??wpkReporter.js", "__wpk");
  34. }
  35. </script>
  36. </head>
  37. <header>
  38. </header>
  39. <body>
  40. <noscript>
  41. <strong>We're sorry but <%= htmlWebpackPlugin.options.title %> doesn't work properly without JavaScript enabled. Please enable it to continue.</strong>
  42. </noscript>
  43. <div id="app"></div>
  44. <!-- built files will be auto injected -->
  45. </body>
  46. </html>