template.h5.html 1.5 KB

12345678910111213141516171819202122232425262728293031
  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. <!-- <meta http-equiv="Content-Security-Policy" content="upgrade-insecure-requests"> -->
  7. <title>
  8. <%= htmlWebpackPlugin.options.title %>
  9. </title>
  10. <!-- Open Graph data -->
  11. <!-- <meta property="og:title" content="Title Here" /> -->
  12. <!-- <meta property="og:url" content="http://www.example.com/" /> -->
  13. <!-- <meta property="og:image" content="http://example.com/image.jpg" /> -->
  14. <!-- <meta property="og:description" content="Description Here" /> -->
  15. <script>
  16. var coverSupport = 'CSS' in window && typeof CSS.supports === 'function' && (CSS.supports('top: env(a)') || CSS.supports('top: constant(a)'))
  17. 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' : '') + '" />')
  18. if(window.location.protocol == 'https:'){
  19. document.write('<meta http-equiv="Content-Security-Policy" content="upgrade-insecure-requests">')
  20. }
  21. </script>
  22. <link rel="stylesheet" href="<%= BASE_URL %>static/index.<%= VUE_APP_INDEX_CSS_HASH %>.css" />
  23. </head>
  24. <body>
  25. <noscript>
  26. <strong>Please enable JavaScript to continue.</strong>
  27. </noscript>
  28. <div id="app"></div>
  29. <!-- built files will be auto injected -->
  30. </body>
  31. </html>