mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-22 04:10:01 +00:00
feat: Add example @n8n/n8n-extension-insights extension package (#14360)
Co-authored-by: Iván Ovejero <ivov.src@gmail.com>
This commit is contained in:
9
packages/extensions/insights/src/frontend/index.ts
Normal file
9
packages/extensions/insights/src/frontend/index.ts
Normal file
@@ -0,0 +1,9 @@
|
||||
import { markRaw } from 'vue';
|
||||
import { defineFrontendExtension } from '@n8n/extension-sdk/frontend';
|
||||
import InsightsDashboard from './InsightsDashboard.vue';
|
||||
|
||||
export default defineFrontendExtension({
|
||||
setup(n8n) {
|
||||
n8n.registerComponent('InsightsDashboard', markRaw(InsightsDashboard));
|
||||
},
|
||||
});
|
||||
Reference in New Issue
Block a user