Home  >  Article  >  Web Front-end  >  Does vuejs not support ie8?

Does vuejs not support ie8?

青灯夜游
青灯夜游Original
2021-09-14 14:25:222219browse

vuejs does not support ie8, reasons: 1. ie8 and below versions do not support the "Object.defineProperty" method, but this method is necessary for vue to implement responsiveness; 2. Vue needs Promise support, and IE8 does not support Promsie.

Does vuejs not support ie8?

The operating environment of this tutorial: windows7 system, vue2.9.6 version, DELL G3 computer.

As can be seen from the Vue official website: Vue does not support IE8.

Vue does not support IE8 and below because Vue uses ECMAScript 5 features that IE8 cannot emulate. But it supports all ECMAScript 5-compatible browsers.

For example:

  • 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 underlay and is related to the browser itself, so Vue fundamentally cannot support IE8;

  • Vue requires Promise support, and IE8 also does not support Promsie.

Related recommendations: "vue.js Tutorial"

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

Statement:
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