在安装vue-awesome-swiper时报错:

Could not resolve dependency:
peer swiper@"^5.2.0" from vue-awesome-swiper@4.1.1
node_modules/vue-awesome-swiper
vue-awesome-swiper@"^4.1.1" from the root project
Fix the upstream dependency conflict, or retry

原因:swiper的版本太高导致的

重新安装5.2.0版本的swiper就可以了

"swiper": "^5.2.0"

Logo

前往低代码交流专区

更多推荐