-
Notifications
You must be signed in to change notification settings - Fork 1
/
app.html
38 lines (38 loc) · 1.37 KB
/
app.html
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
<!DOCTYPE html>
<html {{ HTML_ATTRS }} lang="en">
<head {{ HEAD_ATTRS }}>
<meta charset="utf-8" />
<meta
name="viewport"
content="width=device-width, initial-scale=1, initial-scale=1, maximum-scale=1, user-scalable=no, viewport-fit=cover"
/>
<meta name="apple-mobile-web-app-capable" content="yes" />
<meta name="apple-mobile-web-app-status-bar-style" content="black" />
<meta name="format-detection" content="telephone=no" />
<meta name="screen-orientation" content="portrait" />
<meta name="full-screen" content="yes" />
<meta name="browsermode" content="application" />
<meta name="x5-orientation" content="portrait" />
<meta name="x5-fullscreen" content="true" />
<link rel="icon" type="image/x-icon" href="favicon.ico" />
{{HEAD}} {{ ENV.PATH_TYPE === "development" ? '' : `
<script>
// http://www.backalleycoder.com/2016/05/13/sghpa-the-single-page-app-hack-for-github-pages/
(function () {
var redirect = sessionStorage.redirect;
delete sessionStorage.redirect;
if (redirect && redirect != location.href) {
history.replaceState(null, null, redirect);
}
})();
</script>
<script
defer
src="//mcdn.tk.cn/tk-online/assets/public-js/lib/vue.all.runtime.js"
></script>
`}}
</head>
<body {{ BODY_ATTRS }}>
{{APP}}
</body>
</html>