vue项目中试用轮播组件---vue-awesome-swiper

地址:https://github.com/surmon-china/vue-awesome-swiper

最新的版本有点问题,我用的是v2.6.7 版本的

安装:npm install [email protected] --save

使用方法看文档

问题:在使用的时候回出现一个错误Error in nextTick: "RangeError: Maximum call stack size exceeded"

这个问题是因为引用vue-awesome-swiper的vue文件里的name是swiper,和vue-awesome-swiper里面的name重复了,改一下name就行

猜你喜欢

转载自www.cnblogs.com/zhaobao1830/p/10587108.html