vue-awesome-swiper

weixin_49373330發表於2020-10-14

//引用
import { Swiper, SwiperSlide, directive } from ‘vue-awesome-swiper’;

import ‘swiper/swiper-bundle.css’

import Swiper2, {Navigation, Pagination} from ‘swiper’; // 這行程式碼很關鍵

Swiper2.use([Navigation, Pagination]); // 這行程式碼很關鍵

輪播圖小圓點沒出來,加上這串程式碼就成了