mirror of
https://gitee.com/element-plus/element-plus.git
synced 2024-12-15 01:41:20 +08:00
3138dea797
- Add noop install for all sub components for supress the warning
12 lines
291 B
TypeScript
12 lines
291 B
TypeScript
import { withInstall, withNoopInstall } from '@element-plus/utils/with-install'
|
|
import Form from './src/form.vue'
|
|
import FormItem from './src/form-item.vue'
|
|
|
|
export const ElForm = withInstall(Form, {
|
|
FormItem,
|
|
})
|
|
|
|
export default ElForm
|
|
|
|
export const ElFormItem = withNoopInstall(FormItem)
|