Does vuejs support ie8?
This article mainly introduces whether vuejs supports ie8, has a certain reference value, interested friends can refer to, I hope you can learn a lot after reading this article, the following let the editor take you to understand it.
Vuejs does not support ie8 because: 1. Ie8 and below do not support the "Object.defineProperty" method, but this method is necessary for vue to implement responsiveness; 2. Vue needs the support of Promise, but IE8 does not support Promsie.
The operating environment of this tutorial: windows7 system, vue2.9.6 version, DELL G3 computer.
It can be seen from Vue's official website that Vue does not support IE8.
Vue does not support IE8 and below because Vue uses ECMAScript 5 features that IE8 cannot simulate. But it supports all browsers that are compatible with ECMAScript 5.
For example:
Vue.js will use Object.defineProperty to convert all of these attributes to getter/setter for all data that implements two-way binding. Object.defineProperty is a feature of ES5 that cannot be shim, which is why Vue does not support IE8 and earlier browsers.
Note here: Object.defineProperty is a method that cannot be implemented through the backing plate, and it has something to do with the browser itself, so Vue fundamentally cannot support IE8.
Vue needs the support of Promise, and IE8 does not support Promsie either.
Thank you for reading this article carefully. I hope the article "whether vuejs supports ie8" shared by the editor will be helpful to everyone. At the same time, I also hope that you will support and pay attention to the industry information channel. More related knowledge is waiting for you to learn!