v2 first commit
This commit is contained in:
13
resources/assets/js/plugins/globalDirectives.js
vendored
Normal file
13
resources/assets/js/plugins/globalDirectives.js
vendored
Normal file
@ -0,0 +1,13 @@
|
||||
import clickOutside from './../directives/click-ouside.js';
|
||||
|
||||
/**
|
||||
* 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', clickOutside);
|
||||
}
|
||||
};
|
||||
|
||||
export default GlobalDirectives;
|
Reference in New Issue
Block a user