react-crate-app在ie11報語法錯誤,不兼容ie11

1.安裝react-app-polyfill 2.在src/index.js中引入import 'react-app-polyfill/ie11'; import 'react-app-polyfill/stable'; 3.在pa.在package.json中搜索browserslist,並添加「ie 11」 4.重啓項目
相關文章
相關標籤/搜索