Github user MrRaindrop commented on the issue:

    https://github.com/apache/incubator-weex/pull/219
  
    This branch has changed viewport adapting algorithm. So the npm version is 
out dated (BTW, the latest version on npm is `0.11.2`) when this branch is 
merged, and the device-width will be the viewport size consistently (e.g. 375 
for iphone6).
    
    @dongnaebi  In your case I suggest you don't change your viewport. If you 
want to use a scale based on your design width, such as 750px, you can use 
`<meta name="weex-viewport" content="750">`. This would be ok.
    
    You can specify your viewport width to 750px with `<meta 
name="weex-viewport" content="750">`. This meta works for all the `0.11.x` 
version of weex-vue-render, what is changed is the adapting algorithm. You 
shouldn't set the viewport meta as `device-width` and `xx-scale=1` since the 
`env.deviceWidth` and `env.deviceHeight` will be calculated relying on this. 
What you can change is the `weex-viewport` meta.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

Reply via email to