Skip to content

Commit

Permalink
Merge branch 'dev' of https://gitee.com/lookforwhat/vue-devui into dev
Browse files Browse the repository at this point in the history
  • Loading branch information
unfound committed Sep 2, 2021
2 parents a714d8d + 423ee26 commit 75ac043
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions devui/carousel/index.ts
Original file line number Diff line number Diff line change
@@ -1,16 +1,22 @@
import type { App } from 'vue'
import Carousel from './src/carousel'
import CarouseItem from './src/item'

Carousel.install = function(app: App) {
app.component(Carousel.name, Carousel)
}

CarouseItem.install = function(app: App) {
app.component(CarouseItem.name, CarouseItem);
}

export { Carousel }

export default {
title: 'Carousel 走马灯',
category: '数据展示',
install(app: App): void {
app.use(Carousel as any)
app.use(CarouseItem as any)
}
}

0 comments on commit 75ac043

Please sign in to comment.