You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

27 lines
1.2 KiB

3 years ago
  1. <!DOCTYPE html>
  2. <html lang="zh-CN">
  3. <head>
  4. <meta charset="utf-8">
  5. <meta http-equiv="X-UA-Compatible" content="IE=edge">
  6. <title>
  7. <%= htmlWebpackPlugin.options.title %>
  8. </title>
  9. <script>
  10. document.addEventListener('DOMContentLoaded', function() {
  11. document.documentElement.style.fontSize = document.documentElement.clientWidth / 20 + 'px'
  12. })
  13. var coverSupport = 'CSS' in window && typeof CSS.supports === 'function' && (CSS.supports('top: env(a)') || CSS.supports('top: constant(a)'))
  14. document.write('<meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0' + (coverSupport ? ', viewport-fit=cover' : '') + '" />')
  15. </script>
  16. <link rel="stylesheet" href="<%= BASE_URL %>static/index.<%= VUE_APP_INDEX_CSS_HASH %>.css" />
  17. </head>
  18. <body style="height: 100%;overflow: hidden;">
  19. <noscript>
  20. <strong>Please enable JavaScript to continue.</strong>
  21. </noscript>
  22. <div id="app"></div>
  23. <!-- built files will be auto injected -->
  24. </body>
  25. </html>