vue is compatible with ie9 and above, but does not support ie8 and below. 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 requires the support of Promise, and IE8 does not support Promsie.
The operating environment of this tutorial: windows7 system, vue2.9.6 version, DELL G3 computer.
vue.js is compatible with IE8 and above, but is not compatible with IE8 and below.Vue uses ECMAScript 5 features that IE8 cannot emulate, but it supports all ECMAScript 5-compatible browsers.
Specific instructions:
ie8 and below versions do not support theObject.defineProperty
method, but this is necessary for vue to implement responsiveness. Therefore, judging from the source code of Vue, it cannot support IE8 at all;
Vue.js will use
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;Object.defineProperty# for all data that implements two-way binding. ## Convert all these properties to
getter/setter.
Object.definePropertyis a feature in ES5 that cannot be shimmed, which is why Vue does not support IE8 and lower browsers.
vue.js Tutorial"
The above is the detailed content of vue cum yong ie 几. For more information, please follow other related articles on the PHP Chinese website!