element-plus/packages/tag/index.ts

12 lines
261 B
TypeScript
Raw Normal View History

2020-07-24 15:34:03 +08:00
import { App } from 'vue'
import type { SFCWithInstall } from '@element-plus/utils/types'
2020-07-24 15:34:03 +08:00
import Tag from './src/index.vue'
2020-10-29 17:28:26 +08:00
Tag.install = (app: App): void => {
2020-07-24 15:34:03 +08:00
app.component(Tag.name, Tag)
}
2020-10-29 17:28:26 +08:00
const _Tag: SFCWithInstall<typeof Tag> = Tag
export default _Tag