✨ update dependency package
This commit is contained in:
13
src/directives/index.ts
Normal file
13
src/directives/index.ts
Normal file
@@ -0,0 +1,13 @@
|
||||
// src/directives/index.ts
|
||||
|
||||
import clickOutside from '@/directives/v-click-outside.ts';
|
||||
import lazyLoad from "@/directives/v-lazy-load.ts";
|
||||
|
||||
/**
|
||||
* Register all directives
|
||||
* @param app
|
||||
*/
|
||||
export const registerDirectives = (app: any) => {
|
||||
app.directive('click-outside', clickOutside);
|
||||
app.directive('lazy-load', lazyLoad);
|
||||
};
|
Reference in New Issue
Block a user