index.html
1.2 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
<meta
name="viewport"
content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no"
/>
<link rel="icon" href="<%= BASE_URL %>favicon.ico" />
<title><%= webpackConfig.name %></title>
<script type="text/javascript">
window.onerror = function (msg, url, l) {
alert(msg + "-----" + url + "--" + l);
console.trace();
return true;
};
if (
typeof Object.defineProperty !== "function" ||
typeof document.querySelector !== "function"
) {
alert("您的浏览器不支持Vue.js,请升级到最新版浏览器");
}
document.write(
'<script src="./static/appConfig.js?t=' +
new Date().getTime() +
'"><\/script>'
);
</script>
</head>
<body>
<noscript>
<strong
>We're sorry but <%= webpackConfig.name %> doesn't work properly without
JavaScript enabled. Please enable it to continue.</strong
>
</noscript>
<div id="app"></div>
<!-- built files will be auto injected -->
</body>
</html>