Home > Web Front-end > Vue.js > Does vue.js support ie8?

Does vue.js support ie8?

coldplay.xixi
Release: 2020-11-12 15:19:25
Original
2424 people have browsed it

vue.js does not support ie8 because [Vue.js] uses ECMAScript 5 features that IE8 cannot simulate. [Vue.js] supports all browsers that are compatible with ECMAScript 5.

Does vue.js support ie8?

【Related article recommendations: vue.js

Vue.js is not supported IE8 and below, because Vue.js uses ECMAScript 5 features that IE8 cannot emulate. Vue.js supports all ECMAScript 5-compatible browsers.

Let’s first look at why Vue is not compatible with IE8

The root cause: ie8 and below versions do not support the Object.defineProperty method, but this is a responsive implementation of vue It is necessary, so judging from the source code of Vue, it cannot support IE8 at all;

Furthermore, Vue also needs to support Promise support, and IE8 also does not support Promsie;

Look at the Vue official website and see why IE8 is not supported

Vue.js will use Object.defineProperty to convert all these properties into getters/setters for all data that implements two-way binding. Object.defineProperty is a feature in ES5 that cannot be shimmed, which is why Vue does not support IE8 and lower browsers.

Note here: Object.defineProperty is a method that cannot be implemented through the backing board. It is related to the browser itself, so Vue fundamentally cannot support IE8;

Vue IE8 and below are not supported because Vue uses ECMAScript 5 features that IE8 cannot emulate. But it supports all browsers compatible with ECMAScript 5

Related free learning recommendations:JavaScript(Video)

The above is the detailed content of Does vue.js support ie8?. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template