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.
14 lines
297 B
14 lines
297 B
6 years ago
|
import { directive as vClickOutside } from 'vue-clickaway'
|
||
|
|
||
|
/**
|
||
|
* You can register global directives here and use them as a plugin in your main Vue instance
|
||
|
*/
|
||
|
|
||
|
const GlobalDirectives = {
|
||
|
install (Vue) {
|
||
|
Vue.directive('click-outside', vClickOutside)
|
||
|
}
|
||
|
}
|
||
|
|
||
|
export default GlobalDirectives
|