mirror of
https://github.com/element-plus/element-plus.git
synced 2024-12-21 02:50:11 +08:00
3138dea797
- Add noop install for all sub components for supress the warning
12 lines
318 B
TypeScript
12 lines
318 B
TypeScript
import { withInstall, withNoopInstall } from '@element-plus/utils/with-install'
|
|
import Carousel from './src/main.vue'
|
|
import CarouselItem from './src/item.vue'
|
|
|
|
export const ElCarousel = withInstall(Carousel, {
|
|
CarouselItem,
|
|
})
|
|
|
|
export default ElCarousel
|
|
|
|
export const ElCarouselItem = withNoopInstall(CarouselItem)
|