tempus dominus v6.0和IE11

发布于 2025-01-18 12:29:10 字数 1432 浏览 1 评论 0原文

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

美煞众生 2025-01-25 12:29:10

如果您必须支持IE与此插件的兼容性,那么我认为使用Babel是一个不错的选择。 IE11中的主要原因是它不能解析es6语法(例如箭头函数),因此需要像babel这样的转板器来使其正常工作。

babel是处理不兼容的唯一/最佳方法吗?

据我所知,Babel与大多数前端框架合作,以支持IE 11中的网站兼容性,我认为这是因为Babel本身的优势使其如此受欢迎。

If you have to support IE compatibility with this plugin, then I think using Babel is a good choice. The main reason in IE11 is that it cannot parse es6 syntax (such as arrow function), so a transpiler like Babel is needed to make it work.

Is Babel the only/best way of handling the incompatibility?

As far as I know, Babel works with most front-end frameworks to support site compatibility within IE 11, I think this is because of the advantages of Babel itself that makes it so popular.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文