Files
n8n_Demo/n8n-n8n-1.109.2/packages/frontend/@n8n/design-system/src/plugin.ts
2025-09-08 04:48:28 +08:00

14 lines
303 B
TypeScript
Executable File

import type { Plugin } from 'vue';
import * as directives from './directives';
export interface N8nPluginOptions {}
export const N8nPlugin: Plugin<N8nPluginOptions> = {
install: (app) => {
for (const [name, directive] of Object.entries(directives)) {
app.directive(name, directive);
}
},
};