n8n/packages/frontend/@n8n/design-system/src/plugin.ts
Alex Grozav 20c63436d2
fix(editor): Fix broken types for globally defined components (no-changelog) (#16505)
Co-authored-by: Mutasem Aldmour <mutasem@n8n.io>
2025-06-24 13:01:23 +02:00

14 lines
303 B
TypeScript

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);
}
},
};