Vue mobile projects, how to determine browser incompatibility? How to deal with incompatibility?

there is a mobile project currently in testing, using vue (2.2.2) + mint-ui for development, and I don"t know how to handle compatibility. What method should be used to determine whether the current environment is working properly?

I just looked at the compatibility of vue. Android is 6 and iOS is 10. Do I want to judge that if ua is a version below Android 6 or ios 10, it directly tells the user that it is not compatible and cannot be run?

how does the online project solve this problem?


< H2 > compatibility < / H2 >
Vue does not support IE8 and below because Vue uses ECMAScript 5 features that IE8 cannot simulate. But it supports all browsers compatible with ECMAScript 5 .

there is basically no compatibility problem on the mobile side. If necessary, use babel-polyfill to

.

I don't know how to solve the online project, but I think it is feasible to judge the browser version. The specific method can be written in the html header, or you can introduce a js, written by yourself at the beginning and jump to a prompt page if you decide that the browser is not supported. There is no need to support browsers that are too old. Full support is a waste of development resources.

Menu