1.安装swiper
2.启用swiper
3.引入swiper样式
在index.html或者main.js文件中引入css样式文件
转载于:https://www.cnblogs.com/zjh-study/p/10647782.html