当我将版本swiper^5.2.0
升级到swiper^8.1.4
,然后面临Module not found: Can't resolve 'swiper/css/swiper.css'
问题时
同样,当我导入import 'swiper/css';
,然后面对Module not found: Can't resolve 'swiper/css'
react版本16.10.2
发布于 2022-04-28 07:07:45
还不支持纯ESM包。请参阅swiper文档以获得解决方法。
https://stackoverflow.com/questions/72039298
复制相似问题