index.html 944 B

123456789101112131415161718192021222324
  1. <!DOCTYPE html>
  2. <html lang="en">
  3. <head>
  4. <meta charset="UTF-8">
  5. <meta name="viewport" content="width=device-width, initial-scale=1.0">
  6. <meta http-equiv="X-UA-Compatible" content="ie=edge">
  7. <title>参猫</title>
  8. <% if (process.env.NODE_ENV === 'production') { %>
  9. <!-- 生产环境 -->
  10. <script>document.write('<script src="./config/index.js?t=' + new Date().getTime() + '"><\/script>')</script>
  11. <% }else { %>
  12. <!-- 开发环境 -->
  13. <script src="./static/config/index.js"></script>
  14. <script src="./static/plugins/mock-1.0.0-beta3/mock-min.js"></script>
  15. <script src="./static/plugins/echarts-3.8.5/echarts.common.min.js"></script>
  16. <script src="./static/plugins/ueditor-1.4.3.3/ueditor.config.js"></script>
  17. <script src="./static/plugins/ueditor-1.4.3.3/ueditor.all.min.js"></script>
  18. <script src="./static/plugins/ueditor-1.4.3.3/lang/zh-cn/zh-cn.js"></script>
  19. <% } %>
  20. </head>
  21. <body>
  22. <div id="app"></div>
  23. </body>
  24. </html>