element-plus/packages/carousel/index.ts
Square Coin 1f8fc62d73
Feat/carousel (#151)
* feat: init carousel component

* feat(carousel): init carousel component

* chore: add global dependencies

* chore: use prettier formate code

* feat(carousel): transfer logic - progress 40%

* feat(carousel): migrate logic - progress 50%

* feat(carousel): migrate logic - progress 55%

* feat(carousel): replenish doc

* feat(carousel): add utils

* feat(carousel): finish component logi

* feat(carousel): fix type error

* feat(carousel): test case 80%

* feat(carousel): migrate finish

* feat(carousel): more test cases

* feat(carousel): test case passed

* feat(carousel): fix CI dependencies collides

* feat(carousel): update yarn.lock

* feat(carousel): merge sub component

* feat(carousel): fix lose ctx attribute in buid env

* feat(carousel): finish spec

* feat(carousel): optimize code

* chore: update yarn lock

* feat(carousel): fall back lock file

* chore(carousel): fallback dep

* feat(carousel): update vue dep

* feat(carousel): update spec file

* feat(carousel): use async test

* feat(carousel): revert eslint modify

Co-authored-by: liik <385211478@qq.com>
Co-authored-by: liik <linyunqianpp@126.com>
2020-09-15 10:50:32 +08:00

8 lines
235 B
TypeScript

import { App } from 'vue'
import Carousel from './src/main.vue'
import CarouselItem from './src/item.vue'
export default (app: App): void => {
app.component(Carousel.name, Carousel)
app.component(CarouselItem.name, CarouselItem)
}