In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-17 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >
Share
Shulou(Shulou.com)06/02 Report--
This article mainly explains "vue compatible with IE8 use", the content of the article is simple and clear, easy to learn and understand, the following please follow the editor's ideas slowly in depth, together to study and learn "vue compatible with IE8 with it!"
1. What is compatibility?
In terms of compatibility, this scope will be relatively wide, in terms of relative hardware, it means that several different components have to cooperate with each other steadily when working, which means that their compatibility is good, and vice versa. And in terms of hardware, there is also a saying that refers to coordination.
In the front end, if the compatibility of the browser is not the same, it will be even worse for our rendering effect. Due to the different nature of the browser, there will be some problems in the parsing of the code, which is called compatibility.
two。 Compatible with IE8, react or vue?
For this problem, the editor in IE8 recommends using react, because vue is not compatible with IE8, and the use of IE8 in Vue.js cannot simulate ECMAScript 5 features, and this is also mentioned in our vue documentation.
3. Considerations for using react compatible IE8:
In the official information released by react, the highest version of IE8 it supports is the react@0.14 version. If we are higher than this version, there will be some problems, and it will not be compatible with our version, so in the process of using it, we need to make sure that the react version is larger than the react0.14 version. Of course, the official compatibility method is also given. Just add es5-shim.js and es5-sham.js to our index.html file, which we can find and download on the Internet. We also need to make sure that we are using a version of jQuery that is not greater than jQuery2.0, because jQuery2.0 and above are not supported in IE8. If you are using the bootstrap framework, then our version of jQuery should be at least a version above jQuery1.9.
Thank you for your reading, the above is the content of "vue compatible with IE8". After the study of this article, I believe you have a deeper understanding of the issue of vue compatible with IE8, and the specific use needs to be verified in practice. Here is, the editor will push for you more related knowledge points of the article, welcome to follow!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.