ant-design-vue/components/_util/antDirective.js

12 lines
259 B
JavaScript
Raw Normal View History

import ref from 'vue-ref';
2019-01-12 11:33:27 +08:00
import { antInput } from './antInputDirective';
import { antDecorator } from './FormDecoratorDirective';
2018-12-13 22:47:23 +08:00
export default {
2019-02-01 17:23:00 +08:00
install: Vue => {
Vue.use(ref, { name: 'ant-ref' });
2019-01-12 11:33:27 +08:00
antInput(Vue);
antDecorator(Vue);
2018-12-13 22:47:23 +08:00
},
2019-01-12 11:33:27 +08:00
};