UNPKG

background-carousel

Version:

background-carousel is a simple vue mobile carousel plugin. By setting the aspect ratio of the carousel image, the carousel image component can occupy a place in advance before the image rendering is completed.The picture will be presented as div-backgrou

10 lines (7 loc) 200 B
import BackgroundCarousel from "./BackgroundCarousel"; const plugin = { install(Vue, options) { Vue.component("BackgroundCarousel", BackgroundCarousel); } }; export default plugin;