摘要: 1.安装swiper版本5 npm install --save swiper@5 2.引入样式(一般在main.js中引入) import 'swiper/css/swiper.css' 3.使用的组件中引入并实例化 注:实例化要在dom加载完后,包括v-for等动态数据 import Swipe 阅读全文
posted @ 2021-12-23 17:52 幻影之舞 阅读(661) 评论(0) 推荐(0)