index.html 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  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>
  14. <%= webpackConfig.name %>
  15. </title>
  16. <style>
  17. /* @font-face {
  18. font-family: 'Source Han Sans SC';
  19. src: url('./SourceHanSans-Regular.otf') format('truetype');
  20. font-weight: normal;
  21. font-style: normal;
  22. } */
  23. html,body{
  24. font-family:'黑体';
  25. }
  26. </style>
  27. </head>
  28. <body>
  29. <noscript>
  30. <strong>We're sorry but <%= webpackConfig.name %> doesn't work properly without JavaScript enabled. Please enable it
  31. to continue.</strong>
  32. </noscript>
  33. <div id="app"></div>
  34. <!-- 使用CDN加速的JS文件,配置在vue.config.js下 -->
  35. <!-- <% for (var i in
  36. htmlWebpackPlugin.options.cdn&&htmlWebpackPlugin.options.cdn.js) { %>
  37. <script src="<%= htmlWebpackPlugin.options.cdn.js[i] %>"></script>
  38. <% } %> -->
  39. <!-- built files will be auto injected -->
  40. </body>
  41. </html>
  42. <script>
  43. document.domain = "cocorobo.cn"
  44. </script>