Register directive in app
This commit is contained in:
parent
50b19c6405
commit
ba2964d884
|
|
@ -1,8 +1,10 @@
|
|||
import autoGrow from '@/directives/auto-grow';
|
||||
import clickOutside from '@/directives/click-outside';
|
||||
import highlight from '@/directives/highlight';
|
||||
const registerDirectives = (app: any) => {
|
||||
app.directive('click-outside', clickOutside);
|
||||
app.directive('auto-grow', autoGrow);
|
||||
app.directive('highlight', highlight);
|
||||
};
|
||||
|
||||
export default registerDirectives;
|
||||
|
|
|
|||
Loading…
Reference in New Issue