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.
12 lines
306 B
12 lines
306 B
2 months ago
|
/**
|
||
|
* Configure and register global directives
|
||
|
*/
|
||
|
import type { App } from 'vue';
|
||
|
import { setupPermissionDirective } from './permission';
|
||
|
import { setupLoadingDirective } from './loading';
|
||
|
|
||
|
export function setupGlobDirectives(app: App) {
|
||
|
setupPermissionDirective(app);
|
||
|
setupLoadingDirective(app);
|
||
|
}
|