Swiper component for @vuejs
Swiper component for Vue.
The vue-awesome-swiper project has been deprecated and superseded by Swiper Vue component, a TypeScript friendly project which is a recent official release provided by Swiper. For better stability, please migrate as soon as possible.
vue-awesome-swiper released its last version v5 for (bridge) transition. It's worth noting that APIs in this version are completely NOT compatible with that of previous version, it only re-exports swiper/vue and only supports Vue3, which means only functions of swiper/vue are available. For example, the following code is fully equivalent in vue-awesome-swiper@5. And if you want to check update catelog of Swiper API, please refer to Swiper Changelog.
import { Swiper, SwiperSlide, /* rest swiper/vue API... */ } from 'vue-awesome-swiper'
// exactly equivalent to
import { Swiper, SwiperSlide, /* rest swiper/vue API... */ } from 'swiper/vue'If you need to use older versions of vue-awesome-swiper, you can find the corresponding version number below. Feel free to fork our code and maintain your own copy.
npm install swiper vue-awesome-swiper --saveyarn add swiper vue-awesome-swiper…import { createApp } from 'vue'
import SwiperClass, { /* swiper modules... */ } from 'swiper'
import VueAwesomeSwiper from 'vue-awesome-swiper'
// import swiper module styles
import 'swiper/css'
// more module style...
// use swiper modules
SwiperClass.use([/* swiper modules... */])
const app = createApp()
app.use(VueAwesomeSwiper)…Detailed changes for each release are documented in the release notes.
Licensed under the MIT License.
Swiper doesnt update
IOS下轮播图在返回滑动的时候,图片显示当前激活图片但是随后又会跳转到上一张
Feature request: watch `options` prop for changes and pass down to `swiperInstance.params`
[Bug] Swiper is not looping correctly
Swiper causes Vue hydration issue
Pagination is not working on Swiper6
$attrs is readonly
Swipper contoller thumb in loop ( async )
自动循环轮播第一个swiper空白
duplicated slides rendered without content