forked from vm-component/vimo
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
40 lines (39 loc) · 1.32 KB
/
index.html
File metadata and controls
40 lines (39 loc) · 1.32 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
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport"
content="width=device-width, initial-scale=1, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no">
<meta name="format-detection" content="telephone=no email=no"/>
<link rel="icon" href="static/favicon.ico">
<script>
// window.onerror = function (err) {
// alert(err)
// }
</script>
<!--<script>-->
<!--(function(doc, win) {-->
<!--var docEl = doc.documentElement,-->
<!--resizeEvt = 'orientationchange' in window ? 'orientationchange' : 'resize',-->
<!--recalc = function() {-->
<!--var clientWidth = docEl.clientWidth;-->
<!--if (!clientWidth)-->
<!--return;-->
<!--//由屏幕宽度得到basefont大小,并将其写入html标签中,文档总的尺寸由rem确定-->
<!--docEl.style.fontSize = 100 * (clientWidth / 640) + 'px';-->
<!--doc.body.style.display = "block";-->
<!--doc.getElementsByTagName('html')[0].removeAttribute('class');-->
<!--};-->
<!--if (!doc.addEventListener)-->
<!--return;-->
<!--win.addEventListener(resizeEvt, recalc, false);-->
<!--doc.addEventListener('DOMContentLoaded', recalc, false);-->
<!--})(document, window);-->
<!--</script>-->
<title>Hello Vimo</title>
</head>
<body>
<div id="app"></div>
<!-- built files will be auto injected -->
</body>
</html>