vue-product-carousel
Advanced tools
Comparing version
{ | ||
"name": "vue-product-carousel", | ||
"version": "0.1.0", | ||
"version": "0.1.1", | ||
"description": "Simple slider on Vue.js with hot image replacement, Zoom and Swipe mode", | ||
@@ -5,0 +5,0 @@ "author": "Max Lyashuk <m_lyashuk@ukr.net>", |
@@ -9,3 +9,3 @@ # vue-product-carousel | ||
```bash | ||
npm i --save https://github.com/probil/vue-product-carousel.git | ||
npm i --save vue-product-carousel | ||
``` | ||
@@ -16,3 +16,5 @@ Then import it: | ||
``` | ||
And use in your code use `carousel` component and pass your images as `images` prop: | ||
Use `carousel` component and pass your images as `images` prop: | ||
```js | ||
@@ -39,3 +41,3 @@ <template> | ||
``` | ||
Note: You will need (Babel Loader)[https://github.com/babel/babel-loader] in your Webpack config file in order to support ES6 syntax inside component. | ||
Note: You will need [Babel Loader](https://github.com/babel/babel-loader) in your Webpack config file in order to support ES6 syntax inside component. | ||
@@ -56,1 +58,6 @@ ## Testing | ||
For detailed explanation on how things work, consult the [docs for vue-loader](http://vuejs.github.io/vue-loader). | ||
## Credits | ||
- [kalicki](https://github.com/kalicki) for idea. | ||
- [thebird](https://github.com/thebird/Swipe) for [Swipe](https://github.com/thebird/Swipe) lib |
Sorry, the diff of this file is not supported yet
60
13.21%37169
-8.64%15
-31.82%