element-plus/packages/carousel/index.ts

11 lines
271 B
TypeScript
Raw Normal View History

import { App } from 'vue'
import Carousel from './src/main.vue'
import CarouselItem from './src/item.vue'
2020-10-29 17:28:26 +08:00
export default (app: App): void => {
app.component(Carousel.name, Carousel)
app.component(CarouselItem.name, CarouselItem)
}
2020-10-29 17:28:26 +08:00
export { Carousel, CarouselItem }