mirror of
https://gitee.com/element-plus/element-plus.git
synced 2024-12-15 18:01:24 +08:00
12 lines
300 B
TypeScript
12 lines
300 B
TypeScript
import { App } from 'vue'
|
|
import type { SFCWithInstall } from '@element-plus/utils/types'
|
|
import Carousel from './src/main.vue'
|
|
|
|
Carousel.install = (app: App): void => {
|
|
app.component(Carousel.name, Carousel)
|
|
}
|
|
|
|
const _Carousel: SFCWithInstall<typeof Carousel> = Carousel
|
|
|
|
export default _Carousel
|