index.html 1.0 KB

12345678910111213141516171819202122232425
  1. <!DOCTYPE html>
  2. <html lang="en">
  3. <head>
  4. <meta charset="utf-8">
  5. <meta http-equiv="X-UA-Compatible" content="IE=edge">
  6. <link rel="icon" href="<%= BASE_URL %>favicon.ico">
  7. <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0, viewport-fit=cover">
  8. <% if (process.env.NODE_ENV === 'production') { %> <% for(var css of
  9. htmlWebpackPlugin.options.cdn.css) { %>
  10. <link href="<%=css%>" rel="preload" as="style" />
  11. <link rel="stylesheet" href="<%=css%>" as="style" />
  12. <% } %> <% for(var js of htmlWebpackPlugin.options.cdn.js) { %>
  13. <link href="<%=js%>" rel="preload" as="script" />
  14. <script src="<%=js%>"></script>
  15. <% } %> <% } %>
  16. <title>H5Vue</title>
  17. </head>
  18. <body>
  19. <noscript>
  20. <strong>We're sorry but H5Vue doesn't work properly without JavaScript enabled. Please enable it to continue.</strong>
  21. </noscript>
  22. <div id="app"></div>
  23. <!-- built files will be auto injected -->
  24. </body>
  25. </html>