【发布时间】:2022-01-12 03:51:39
【问题描述】:
我的 react 项目有几个“flex”兼容性错误。如何消除 VS 代码中的这些错误?我已经在我的项目中使用了 postcss。
'flex' is not supported by Internet Explorer < 11. Add '-ms-flex' to support Internet Explorer 10+.
'flex-direction' is not supported by Internet Explorer < 11. Add '-ms-flex-direction' to support Internet Explorer 10+.
'transform' is not supported by Internet Explorer < 10. Add '-ms-transform' to support Internet Explorer 9+.
【问题讨论】:
-
我认为它在错误消息中正确说明了如何修复它。您是否正在寻找其他类型的修复方法?
-
感谢 Collind,我在项目中使用了 postcss,我的意思是如何避免这些警告。