nuxt 配置 swiper 注意事项
注意点
1、 样式不生效:引入 swiper-bundle.css / swiper-bundle.min.css
2、翻页按钮不生效:引入 Navigation, Pagination
plugins 目录下新建 vue-swiper.js:
import Vue from 'vue'
import swiper, { Navigation, Pagination } from "swiper";
import VueAwesomeSwiper from 'vue-awesome-swiper'
impo
原创
2022-01-06 18:47:50 ·
680 阅读 ·
0 评论