element-plus
Version:
> TODO: description
14 lines (9 loc) • 295 B
text/typescript
import Tag from './src/index.vue'
import type { App } from 'vue'
import type { SFCWithInstall } from '@element-plus/utils/types'
Tag.install = (app: App): void => {
app.component(Tag.name, Tag)
}
const _Tag = Tag as SFCWithInstall<typeof Tag>
export default _Tag
export const ElTag = _Tag