Skip to content

Commit

Permalink
* [html5] add weex-viewport meta to entry html file.
Browse files Browse the repository at this point in the history
  • Loading branch information
MrRaindrop committed Mar 6, 2017
1 parent 60fc92a commit 00f3c73
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
3 changes: 2 additions & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,12 @@
<head>
<meta charset="utf-8">
<title>Weex HTML5</title>
<meta name="weex-viewport" content="750">
<meta name="viewport" content="width=750, user-scalable=no">
<meta name="apple-mobile-web-app-capable" content="yes" />
<meta name="apple-mobile-web-app-status-bar-style" content="black" />
<meta name="apple-touch-fullscreen" content="yes" />
<meta name="format-detection" content="telephone=no, email=no" />
<meta name="viewport" content="width=750, user-scalable=no">
<style>
html, body, #weex {
width: 100%;
Expand Down
1 change: 1 addition & 0 deletions vue.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
<head>
<meta charset="utf-8">
<title>Weex Vue Demo</title>
<meta name="weex-viewport" content="750">
<meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no">
<meta name="apple-mobile-web-app-capable" content="yes" />
<meta name="apple-mobile-web-app-status-bar-style" content="black" />
Expand Down

0 comments on commit 00f3c73

Please sign in to comment.