框架源码
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

49 lines
1.6 KiB

4 years ago
  1. <!DOCTYPE html>
  2. <html lang="">
  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,user-scalable=no">
  7. <link rel="icon" href="<%= BASE_URL %>favicon.ico">
  8. <title>
  9. <%= htmlWebpackPlugin.options.title %>
  10. </title>
  11. <!--<script src="flexible.js"></script>-->
  12. <%
  13. if(process.env.VUE_APP_DEVLIB === 'dev'){ %>
  14. <link id="tis_design_theme" rel="stylesheet" href="http://localhost:9902/tis-ui/theme-chalk/index.css">
  15. <%}else{%>
  16. <%=
  17. process.env.NODE_ENV==='production' ?
  18. '<link id="tis_design_theme" rel="stylesheet" href="/TIS_LIB/tis-ui/theme-chalk/index.css">' :
  19. '<link id="tis_design_theme" rel="stylesheet" href="/tis-ui/theme-chalk/index.css">'
  20. %>
  21. <%}%>
  22. </head>
  23. <!--<script>window.currentLauncher='manager'</script>-->
  24. <body>
  25. <noscript>
  26. <strong>We're sorry but
  27. <%= htmlWebpackPlugin.options.title %> doesn't work properly without JavaScript enabled.
  28. Please enable it to continue.</strong>
  29. </noscript>
  30. <div id="app"></div>
  31. <!-- built files will be auto injected -->
  32. <%
  33. if(process.env.VUE_APP_DEVLIB === 'dev'){ %>
  34. <script src="http://localhost:9902/vue/vue.js"></script>
  35. <script src="http://localhost:9902/tis-ui/index.js"></script>
  36. <%}else{%>
  37. <%=
  38. process.env.NODE_ENV==='production'?
  39. '<script src="/TIS_LIB/vue/vue.js"></script>'+
  40. '<script src="/TIS_LIB/tis-ui/index.js"></script>':
  41. '<script src="/vue/vue.js"></script>'+
  42. '<script src="/tis-ui/index.js"></script>'
  43. %>
  44. <%}%>
  45. </body>
  46. </html>