You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
13 lines
243 B
13 lines
243 B
import drag from './drag'
|
|
|
|
const install = function(Vue) {
|
|
Vue.directive('el-drag-dialog', drag)
|
|
}
|
|
|
|
if (window.Vue) {
|
|
window['el-drag-dialog'] = drag
|
|
Vue.use(install); // eslint-disable-line
|
|
}
|
|
|
|
drag.install = install
|
|
export default drag
|
|
|