ant-design-vue/components/n-form/index.jsx
tangjinzhou e1b51e9c78
feat: add new form support v-model
* chore: update site

* chore: update submodule

* docs: update

* docs: update doc

* docs: update

* test: update snap

* docs: update

* feat: add new form support v-model

* feat: add new form

* docs: update changelog

* chore: update webpack

* test: update snap
2020-03-15 13:12:47 +08:00

21 lines
520 B
Vue

import Vue from 'vue';
import Form from './Form';
import ref from 'vue-ref';
import FormDecoratorDirective from '../_util/FormDecoratorDirective';
import Base from '../base';
Vue.use(ref, { name: 'ant-ref' });
Vue.use(FormDecoratorDirective);
export { FormProps, ValidationRule } from './Form';
export { FormItemProps } from './FormItem';
/* istanbul ignore next */
Form.install = function(Vue) {
Vue.use(Base);
Vue.component(Form.name, Form);
Vue.component(Form.Item.name, Form.Item);
};
export default Form;