element-plus/packages/form/index.ts
hangzou b45f084a72
fix(build): fix import module path (#543)
* fix(build): fix import module path

* fix: fix export constants & type

* fix(popover): fix exports and import
2020-11-04 16:30:42 +08:00

14 lines
367 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)
}
export { Form, FormItem, LabelWrap }
export * from './src/token'