index.ejs 831 B

1234567891011121314151617181920212223242526272829303132
  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <meta charset="utf-8">
  5. <title>心理效能增强系统</title>
  6. <% if (htmlWebpackPlugin.options.nodeModules) { %>
  7. <!-- Add `node_modules/` to global paths so `require` works properly in development -->
  8. <script>
  9. require('module').globalPaths.push('<%= htmlWebpackPlugin.options.nodeModules.replace(/\\/g, '\\\\') %>')
  10. </script>
  11. <% } %>
  12. </head>
  13. <body>
  14. <div id="app"></div>
  15. <!-- Set `__static` path to static files in production -->
  16. <% if (!process.browser) { %>
  17. <script>
  18. if (process.env.NODE_ENV !== 'development') window.__static = require('path').join(__dirname, '/static').replace(/\\/g, '\\\\')
  19. </script>
  20. <% } %>
  21. <!-- webpack builds are automatically injected -->
  22. </body>
  23. </html>
  24. <style>
  25. body {
  26. margin: 0px !important;
  27. }
  28. </style>