forked from better-tcy/dom-to-code
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
27 lines (27 loc) · 858 Bytes
/
index.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
<!DOCTYPE html>
<html lang="zh-CN">
<head>
<meta charset="UTF-8">
<link rel="icon" href="/favicon.ico" />
<title>Vue3 App</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no, viewport-fit=cover">
<script>
(function () {
// ios safari 禁止缩放
document.addEventListener('touchmove', function(event) {
event = event.originalEvent || event;
if(event.scale !== undefined && event.scale !== 1) {
event.preventDefault();
}
}, false);
})()
</script>
</head>
<body class="font-sans">
<noscript>
<strong>We're sorry but web-cli doesn't work properly without JavaScript enabled. Please enable it to continue.</strong>
</noscript>
<div id="app"></div>
<script type="module" src="/src/main.ts"></script>
</body>
</html>