12 lines
193 B
TypeScript
12 lines
193 B
TypeScript
![]() |
import { App } from 'vue';
|
||
|
|
||
|
// import { x } from '@/directives';
|
||
|
|
||
|
/**
|
||
|
* 注册全局自定义指令
|
||
|
* @param app
|
||
|
*/
|
||
|
export function setupDirectives(app: App) {
|
||
|
// app.directive('x', x);
|
||
|
}
|