index.ejs
871 Bytes
<!DOCTYPE html>
<html lang="zh-CN">
<head>
<title>ufo后台管理</title>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width,initial-scale=1.0,maximum-scale=1.0,user-scalable=0">
</head>
<body>
<div id="app"></div>
<% for (var i=0; i<htmlWebpackPlugin.options.externalscripts.length; i++) {
var script = htmlWebpackPlugin.options.externalscripts[i];
%>
<script type="text/javascript" src="<%= script %>"></script>
<% } %>
<% if (htmlWebpackPlugin.options.filename === 'coupon.html') { %>
<script type="text/javascript" src="<%= htmlWebpackPlugin.options.xlsScript%>"> </script>
<%} %>
<% if (htmlWebpackPlugin.options.filename === 'send-record.html') { %>
<script type="text/javascript" src="<%= htmlWebpackPlugin.options.xlsScript%>"> </script>
<%} %>
</body>
</html>