element-plus/packages/skeleton/index.ts

12 lines
301 B
TypeScript
Raw Normal View History

2020-12-21 20:07:48 +08:00
import { App } from 'vue'
import Skeleton from './src/index.vue'
import type { SFCWithInstall } from '@element-plus/utils/types'
2020-12-21 20:07:48 +08:00
Skeleton.install = (app: App): void => {
app.component(Skeleton.name, Skeleton)
}
const _Skeleton: SFCWithInstall<typeof Skeleton> = Skeleton
export default _Skeleton