Vue component on top of the Glide.js – Slider/Carousel

收藏待读

Vue component on top of the Glide.js – Slider/Carousel

Vue Glide

Vue component on top of the Glide.js

Vue component on top of the Glide.js - Slider/Carousel

Documentation

https://antonreshetov.github.io/vue-glide

Install

NPM

Installing with npm is recommended and it works seamlessly with webpack.

npm i vue-glide-js

Download

You can download latest version from the Github: Download

Quick Start

Global

To use in your project, just import vue-glide and install into Vue.

import Vue from 'vue'
import App from './App.vue'
import VueGlide from 'vue-glide-js'
import 'vue-glide-js/dist/vue-glide.css'

Vue.use(VueGlide)

new Vue({
  el: '#app',
  render: h => h(App)
})

On demand

  
Slide {{ i }}
import { Glide, GlideSlide } from 'vue-glide-js' export default { components: { [Glide.name]: Glide, [GlideSlide.name]: GlideSlide } }

License

MIT © 2018-present Anton Reshetov

原文 : Github

相關閱讀

免责声明:本文内容来源于Github,已注明原文出处和链接,文章观点不代表立场,如若侵犯到您的权益,或涉不实谣言,敬请向我们提出检举。