Lightweight Slider/Carousel based on CSS Scroll Snap.
Please note that this lib is on very early stage. The idea behind this plugin is that to create fully responsive and well optimised Carousel. I created this as PoC for one of my biggest client, who wants to speed up his website.
There are two ways to use it.
import Vue from 'vue'
import VueSnap from 'vue-snap'
import 'vue-snap/dist/vue-snap.css'
Vue.use(VueSnap)
import { Carousel, Slide } from 'vue-snap'
import 'vue-snap/dist/vue-snap.css'
export default {
components: {
Carousel,
Slide
}
}
Install necessary depandancies with yarn or npm
yarn
Run in Development mode
yarn dev
Run in Production mode
yarn build
Run Storybook for preview
yarn storybook:dev
Feel free to grab an issue from the list, just remember to squash your commits before merge.
Author: bartdominiak
Live Demo: https://bartdominiak.github.io/vue-snap/
GitHub: https://github.com/bartdominiak/vue-snap
#vue #vuejs #javascript #vue-js #css