index.html 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <meta charset="utf-8">
  5. <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
  6. <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
  7. <link rel="icon" href="<%= BASE_URL %>favicon.ico">
  8. <!-- <% for (var i in
  9. htmlWebpackPlugin.options.cdn&&htmlWebpackPlugin.options.cdn.css) { %>
  10. <link href="<%= htmlWebpackPlugin.options.cdn.css[i] %>" rel="preload" as="style" />
  11. <link href="<%= htmlWebpackPlugin.options.cdn.css[i] %>" rel="stylesheet" />
  12. <% } %> -->
  13. <title><%= webpackConfig.name %></title>
  14. <style>
  15. @font-face {
  16. font-family: 'Source Han Sans SC';
  17. src: url('./static/SourceHanSans-Regular.otf') format('truetype');
  18. font-weight: normal;
  19. font-style: normal;
  20. }
  21. html,
  22. body {
  23. font-family: 'Source Han Sans SC', sans-serif;
  24. }
  25. </style>
  26. </head>
  27. <body>
  28. <noscript>
  29. <strong>We're sorry but <%= webpackConfig.name %> doesn't work properly without JavaScript enabled. Please enable it to continue.</strong>
  30. </noscript>
  31. <div id="app"></div>
  32. <!-- 使用CDN加速的JS文件,配置在vue.config.js下 -->
  33. <!-- <% for (var i in
  34. htmlWebpackPlugin.options.cdn&&htmlWebpackPlugin.options.cdn.js) { %>
  35. <script src="<%= htmlWebpackPlugin.options.cdn.js[i] %>"></script>
  36. <% } %> -->
  37. <!-- built files will be auto injected -->
  38. </body>
  39. </html>
  40. <script>
  41. document.domain = "cocorobo.hk"
  42. </script>