关于vue.js:手机H5-必备

56次阅读

共计 551 个字符,预计需要花费 2 分钟才能阅读完成。

手机调试

<!-- 手机调试 --> 
<% if (VUE_APP_ERUDA === 'true') { %>
    <script src="//cdn.bootcss.com/eruda/1.5.2/eruda.min.js"></script>
    <script>
      window.eruda.init()
    </script>
<% } %>

手机调试

<meta charset="utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport"
      content="width=device-width, initial-scale=1.0, maximum-scale=1.0,minimum-scale=1.0,user-scalable=0,viewport-fit=cover"
    />
<meta name="apple-mobile-web-app-capable" content="yes" />
<meta name="apple-mobile-web-app-status-bar-style" content="black" />
<meta content="telephone=no,email=no" name="format-detection" />

正文完
 0