element-plus/packages/form/index.ts
2020-10-03 20:13:56 +08:00

11 lines
301 B
TypeScript

import { App } from 'vue'
import Form from './src/form.vue'
import FormItem from './src/form-item.vue'
import LabelWrap from './src/label-wrap'
export default (app: App): void => {
app.component(Form.name, Form)
app.component(FormItem.name, FormItem)
app.component(LabelWrap.name, LabelWrap)
}