destygo-vue-swiper
Advanced tools
Comparing version 3.1.4 to 3.1.5
{ | ||
"name": "destygo-vue-swiper", | ||
"description": "Swiper component for Vue", | ||
"version": "3.1.4", | ||
"version": "3.1.5", | ||
"license": "MIT", | ||
@@ -6,0 +6,0 @@ "private": false, |
@@ -1,26 +0,6 @@ | ||
[](https://github.com/surmon-china/vue-awesome-swiper/stargazers) | ||
[](https://travis-ci.org/surmon-china/vue-awesome-swiper) | ||
[](https://github.com/surmon-china/vue-awesome-swiper/issues) | ||
[](https://github.com/surmon-china/vue-awesome-swiper/network) | ||
[](https://github.com/surmon-china/vue-awesome-swiper) | ||
[](https://github.com/surmon-china/vue-awesome-swiper) | ||
[](https://twitter.com/intent/tweet?url=https://github.com/surmon-china/vue-awesome-swiper) | ||
[](https://juejin.im/entry/57f6a5e7d2030900689c1e9c/detail) | ||
[](https://nodei.co/npm/vue-awesome-swiper/) | ||
[](https://nodei.co/npm/vue-awesome-swiper/) | ||
# Vue-Awesome-Swiper | ||
# Destygo-vue-Swiper | ||
[Swiper4](http://www.swiper.com.cn) component for Vue, support pc and mobile, SPA and SSR. | ||
If you need to roll back to Swiper3, use version [v2.6.7](https://github.com/surmon-china/vue-awesome-swiper/tree/v2.6.7). | ||
# Example of the base repo (https://surmon-china.github.io/vue-awesome-swiper) | ||
基于 [Swiper4](http://www.swiper.com.cn)、适用于 Vue 的轮播组件,支持服务端渲染和单页应用。 | ||
如果需要回退到 Swiper3,请使用 [v2.6.7](https://github.com/surmon-china/vue-awesome-swiper/tree/v2.6.7) 版本。 | ||
# Example | ||
[Demo Page](https://surmon-china.github.io/vue-awesome-swiper) | ||
@@ -37,18 +17,6 @@ | ||
#### CDN | ||
``` html | ||
<link rel="stylesheet" href="path/to/swiper/dist/css/swiper.css"/> | ||
<script type="text/javascript" src="path/to/swiper.js"></script> | ||
<script type="text/javascript" src="path/to/vue.min.js"></script> | ||
<script type="text/javascript" src="path/to/dist/vue-awesome-swiper.js"></script> | ||
<script type="text/javascript"> | ||
Vue.use(window.VueAwesomeSwiper) | ||
</script> | ||
``` | ||
#### NPM | ||
``` bash | ||
npm install vue-awesome-swiper --save | ||
npm install destygo-vue-swiper --save | ||
``` | ||
@@ -116,3 +84,3 @@ | ||
### Difference(使用方法的异同) | ||
### Difference | ||
@@ -243,3 +211,3 @@ **SSR and the only difference in the use of the SPA:** | ||
console.log( | ||
'This is current swiper instance object', this.mySwiper, | ||
'This is current swiper instance object', this.mySwiper, | ||
'It will slideTo banners 3') | ||
@@ -246,0 +214,0 @@ this.mySwiper.slideTo(3, 1000, false) |
31392
226