index.html 1.0 KB

12345678910111213141516171819202122232425
  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. <link rel="shortcut icon" type="image/x-icon" href="./static/img/favicon.ico">
  14. <script src="./static/config/index.js"></script>
  15. <script src="./static/plugins/mock-1.0.0-beta3/mock-min.js"></script>
  16. <script src="./static/plugins/echarts-3.8.5/echarts.common.min.js"></script>
  17. <script src="./static/plugins/ueditor-1.4.3.3/ueditor.config.js"></script>
  18. <script src="./static/plugins/ueditor-1.4.3.3/ueditor.all.min.js"></script>
  19. <script src="./static/plugins/ueditor-1.4.3.3/lang/zh-cn/zh-cn.js"></script>
  20. <% } %>
  21. </head>
  22. <body>
  23. <div id="app"></div>
  24. </body>
  25. </html>