element-plus
Version:
A Component Library for Vue3.0
12 lines (8 loc) • 311 B
text/typescript
import { App } from 'vue'
import type { SFCWithInstall } from '@element-plus/utils/types'
import FormItem from '../form/src/form-item.vue'
FormItem.install = (app: App): void => {
app.component(FormItem.name, FormItem)
}
const _FormItem: SFCWithInstall<typeof FormItem> = FormItem
export default _FormItem