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
2.2 KiB

6 years ago
<!DOCTYPE html>
<html lang="en">
5 years ago
<head>
6 years ago
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no">
6 years ago
<link rel="icon" href="<%= BASE_URL %>favicon.ico">
5 years ago
<title><%= htmlWebpackPlugin.options.title %></title>
<% for (var i in htmlWebpackPlugin.options.cdn && htmlWebpackPlugin.options.cdn.css) { %>
<!-- 使用CDN的CSS文件 -->
<link href="<%= htmlWebpackPlugin.options.cdn.css[i] %>" rel="external nofollow preload" as="style">
<link href="<%= htmlWebpackPlugin.options.cdn.css[i] %>" rel="external nofollow stylesheet">
<% } %>
<% for (var i in htmlWebpackPlugin.options.cdn && htmlWebpackPlugin.options.cdn.js) { %>
<!-- 使用CDN的JS文件 -->
<link href="<%= htmlWebpackPlugin.options.cdn.js[i] %>" rel="external nofollow preload" as="script">
<% } %>
5 years ago
<!--百度访问统计-->
5 years ago
<script>
/*var _hmt = _hmt || [];
5 years ago
(function() {
var hm = document.createElement("script");
hm.src = "https://hm.baidu.com/hm.js?4dbdbc5421c41984499f878628d60f2f";
5 years ago
var s = document.getElementsByTagName("script")[0];
s.parentNode.insertBefore(hm, s);
})();*/
5 years ago
</script>
</head>
6 years ago
<body>
5 years ago
<noscript>
<strong>We're sorry but <%= htmlWebpackPlugin.options.title %> doesn't work properly without JavaScript enabled. Please enable it to continue.</strong>
</noscript>
6 years ago
<div id="app"></div>
5 years ago
<!-- built files will be auto injected 移动端调试工具-->
5 years ago
<% for (var i in htmlWebpackPlugin.options.cdn && htmlWebpackPlugin.options.cdn.js) { %>
<script src="<%= htmlWebpackPlugin.options.cdn.js[i] %>"></script>
<% } %>
<% if (htmlWebpackPlugin.options.debugTool == 'eruda') { %>
<script src="https://cdn.jsdelivr.net/npm/eruda/eruda.min.js"></script>
<script>eruda.init();</script>
<% } %>
<% if (htmlWebpackPlugin.options.debugTool == 'vconsole') { %>
<script src="https://cdn.jsdelivr.net/npm/vconsole/dist/vconsole.min.js"></script>
<script>new VConsole();</script>
<% } %>
5 years ago
</body>
6 years ago
</html>
5 years ago