index.html 2.1 KB

1234567891011121314151617181920212223242526272829303132333435363738
  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. <meta name="viewport" content="width=device-width, initial-scale=1">
  7. <title>spsemulator</title>
  8. <link rel="icon" type="image/png" sizes="32x32" href="<%= htmlWebpackPlugin.files.publicPath %>static/img/icons/favicon-32x32.png">
  9. <link rel="icon" type="image/png" sizes="16x16" href="<%= htmlWebpackPlugin.files.publicPath %>static/img/icons/favicon-16x16.png">
  10. <!--[if IE]><link rel="shortcut icon" href="/static/img/icons/favicon.ico"><![endif]-->
  11. <!-- Add to home screen for Android and modern mobile browsers -->
  12. <link rel="manifest" href="<%= htmlWebpackPlugin.files.publicPath %>static/manifest.json">
  13. <meta name="theme-color" content="#4DBA87">
  14. <!-- Add to home screen for Safari on iOS -->
  15. <meta name="apple-mobile-web-app-capable" content="yes">
  16. <meta name="apple-mobile-web-app-status-bar-style" content="black">
  17. <meta name="apple-mobile-web-app-title" content="spsemulator">
  18. <link rel="apple-touch-icon" href="<%= htmlWebpackPlugin.files.publicPath %>static/img/icons/apple-touch-icon-152x152.png">
  19. <link rel="mask-icon" href="<%= htmlWebpackPlugin.files.publicPath %>static/img/icons/safari-pinned-tab.svg" color="#4DBA87">
  20. <!-- Add to home screen for Windows -->
  21. <meta name="msapplication-TileImage" content="<%= htmlWebpackPlugin.files.publicPath %>static/img/icons/msapplication-icon-144x144.png">
  22. <meta name="msapplication-TileColor" content="#000000">
  23. <% for (var chunk of webpack.chunks) {
  24. for (var file of chunk.files) {
  25. if (file.match(/\.(js|css)$/)) { %>
  26. <link rel="<%= chunk.initial?'preload':'prefetch' %>" href="<%= htmlWebpackPlugin.files.publicPath + file %>" as="<%= file.match(/\.css$/)?'style':'script' %>"><% }}} %>
  27. </head>
  28. <body>
  29. <noscript>
  30. This is your fallback content in case JavaScript fails to load.
  31. </noscript>
  32. <div id="app"></div>
  33. <!-- Todo: only include in production -->
  34. <%= htmlWebpackPlugin.options.serviceWorkerLoader %>
  35. <!-- built files will be auto injected -->
  36. </body>
  37. </html>